If that happened twice then the quick shifter must not be working properly. Is this your first motorcycle?
This is not related but it looks like your crankcase breather tube needs to be drained.
This is not related but it looks like your crankcase breather tube needs to be drained.