I had my 13 do this to me out of the blue one day, would spin over but no attempt at starting. IIRC the check engine light would blink and when checked the codes it was saying something along the lines of ecu not seeing power from key switch. Discovered i could turn the key off and back on a few times and magically it would start. dis assembled, cleaned and re-greased my side stand switch it was gross inside there.
The problem persisted grabbed my can of silicone spray and blasted the key switch, i know i know bad idea but i have not had a issue since. The amount of black funk and crud that came out of the key switch blew my mind.