I had a similar issue one day. While in the diner a group wandered around looking at the bike, I didn't think anything about it. Went out and It wouldn't start. I tried everything I could think of. I ended up trying to push the bike a couple blocks to a friends truck garage. I'm no longer built for pushing motorbikes anywhere. I stopped just short of a major coronary to catch my breath. While heaving and panting behind the bike I noticed just a slight amount of the kill switch button sticking above the switch housing, maybe about a 1/16". I poked that button and the starter switch and it fired right off. Whether I bumped the switch or the 'lookers' I can't really say, but, its now a thing to always look at. Its always something.
I managed to inadvertently rock my starter switch a little while doing maintenance before one of those Smokin' Joe rides
down the whole BRP. It was half way between on and off, I guess it just couldn't make up its mind. I was on my way to the
meeting place in Virginia, when my bike just quit running. I missed the first day of the ride.
-Mike