I have a Yamaha FZ6 and it tipped over today (stopped on a steep hill at an angle). I managed to stop it just as the foot peg touched down but when I righted it, I got an error code 30 (lean angle cut-off). The bike shut off but then re-started without a problem.
When I got home and turned the bike off, I got an error code 19 (side stand switch circuit). It's not even on the side stand.
The big problem here is now the bike's lights won't shut off. I turn the key off and remove it like always but only the engine stops, the lights (and for a while the fan) keep running. The speedo is lit up with the error code 19 on the bottom.
I think I'll disconnect the battery (as soon as I figure out where it is!)