The first time this happened, you walked to the moto, put the key into the ignition switch, turned it to On then the starter immediately engaged the engine,
or
you put the key into the switch, turned it to On, pressed the starter button, the starter started cranking the engine and wouldn't stop until the switch was turn to Off then you turned the switch to On again and the starter started cranking again,
or
some other thing happened?