This maynot be your issue however, I once accidentally hit the on/off dial on top of the right side cluster (Front Brake) and switched it to off. It happens.

One time on a riding trip during a fuel stop, I decided to play a joke on one of my close friends who went inside to relieve himself. I turned the switch off on his Goldwing. We were in the middle of nowhere, when he returned to his bike, he could not get it to start. He was freaking out for 5 minutes ... didn't know how to return home. I made a bet with him that for $20.00 I could use my connection with the Honda Gods and have the bike running. After the $20 was in hand ... the bike started.....