My max G2 is in a very weird state

Dashboard turns on I get no error message but motor won't go, seem jammed.

Then I removed the back cover to the battery and I notice 2 small switches with the controller. I turn them of for 5 seconds and then turn them back on, suddenly the scooter goes again.

Then after a drive, normallly when I hit the brake and stop the vehicle it's jammed again. Do the switch thing again and it goes.

What is going on here? Any ideas?