Of course you did. It's called "inductive kick" and is similar to the shock you get of a lawn mower magneto grounding lead, or the transistor of the Mopar ECU--which is connected to the NEG of the coil primary. What happens is when you have ANY electromagnet type device, such as a relay coil, solenoid, transformer, ignition coil, etc, and you power it--even with say, an analog multimeter with the old 1 1/2V battery for the low ohms scale---the current flow will build a magnetic field, and when you disconnect (flash) the field collapses and develops a spike that you FEEL