Probably not if it was an intermittent problem. If it did, one of the following is probably what would display.Wouldn't that(faulty Bank angle sensor) throw out a code?
B1151 Bank Angle Sensor(BAS) Short to Ground
B1152 Bank Angle Sensor(BAS) Short to Battery
B1153 Bank Angle Sensor(BAS) High
That's the problem with some electrical gremlins. They're so darn hard to recreate sometimes and it leaves you scratching your head or chasing it endlessly. You could test the bank angle sensor while the bike is stationary to make sure at least the tip over function is working properly by removing the sensor and while running tilt the sensor from upright to an angle of mare than 45*. From the FSM, the following should happen.
OPERATION
The engine will shut off automatically if the vehicle tilts more
than 45 degrees from vertical for longer than one second. The
engine will automatically shut off even if the tilt occurs at a
very slow speed. The odometer displays “tIP” when a tip over
condition is detected.
To restart the motorcycle after shutdown has occurred:
1. Return the motorcycle to an upright position.
2. Cycle the ignition key OFFON
before restarting the vehicle