Wow; that's never happened to me, and it never even occurred to me as something to think about.
I'm wondering if the phenomena varies among different makes of plugs; whether some plugs have the contacts further from the surface of the plug.
At home, when I'm done practicing, I bring the volume pedal down, unplug from the bass, put the plug on the rack handle, bring the power amp volumes down, and turn off the rack.
It seems to me that you shouldn't have to turn your rig off every time you switch instruments. But it's an interesting question.
At least I now know not to touch the surface of the plug when the power is on. Thanks Olie!