That is how the engine is supposed to shut down, when you turn the key to the off position, it sends the small terminals on the coils to ground,
and that is how it shuts the engine down normally. Usually, if you screw up and send voltage to those terminals, you have destroyed the coils, so
you sound real lucky. Just run those terminals to a separate kill switch that goes to ground/frame/metal/etc..