On a normal mower's wiring, when you turned the key to the "off" position, or got off the seat while the deck was running, or a few other scenarios, that would send to your coils a connection to "ground" through the switches, which would shut the engine off.
Same as a pushmower, but only the switch is hooked up to the lever, when you let it go, it "grounds" out the coil and shuts the engine down, been that way for a loooonnnggg time......
And that is the beauty of these engines, whenever the flywheel rotates through the coil field, it produces a spark, if the system is working correctly, the only way to stop that is to ground out the coil...
On the circuitry of a keyswitch, it sends voltage to the starter to "crank" when the key is turned to the crank position. It also
does not let the ignition to ground at this position, it also lets voltage go to the fuel solenoid at this position, so the engine
will start and all....
And when the key snaps back to the "run" position, it still does not allow the system to "ground"/shut off... But still allows power to the fuel solenoid, and the rest of the tractor....
And when the key is turned off, the ignition coil is grounded, and the engine shuts down.....
But Kohler, in their great wisdom came up with "SmartSpark", which requires voltage to the SAM unit to run as well, and confuses us poor rednecks all to pieces.......
So I hate to tell you that you might want to be patient with us here, as we are old disgruntled pharts, that don't get paid a dime,
and truth be told, didn't get paid enough before, when we worked on this crud for a living......
So, be patient, one of us here might slip a pearl in this smelly oyster bed..... But if you want to get serious about it, go buy a decent multi-meter, so we can test the keyswitch.