...or pull the switch apart, clean the contacts, pack with dielectric grease and reassemble. Fixed!
I seem to recall some folks having an issue with the bike shutting down immediately after starting due to micro-arcing in the switch itself. The fix, surprisingly, was to start shutting the bike off with the kill switch. It was on ADVrider forum but I just tried and can't find the thread. It took me a while to get used to it, but I use the kill switch most of the time now.