All the rest of that day I felt weird. My skin felt too sensitive, my arms would twitch randomly, and I just felt kind of weak and vaguely dizzy all day. I did end up figuring it out and putting a rubber mat down which immediately stopped the electrocution problem. But I really don't like being electrocuted at all. It just isn't pleasant.
On topic, all our machines get locked and tagged before opening the electrical cabinets or working on anything where you might be exposed to live wires. It's enforced by worker's comp also. We get randomly inspected fairly regularly and one thing they check is that we have lockout keys and locks on every machine breaker.