guys, i need some electrical guidance here...
today i was training to do wheelies, i did not push the bike too much, because i am an amateur, but i landed a bit harsh one time.
anyway, i turn off the bike and talking with the others for a couple of minutes.
then i wanted to start it but, it did not at first, so i turn the key off position and on again to restart the process. it did not again, then second time i put the key to off position the bike suddenly was trying to start itself, even that the key was out of the ignition. so it was trying non stop to start (still by itself) until the battery was completely drained. what i did after was a few hard hits on the starting relais next to the battery, and eventually it started with the help of battery cables from a car.
and of course i go also the diagnostic minus 1.
please delight me, what the hell just happened? never seen something like this before, a bike trying to start by its own.

thanks in advance.