"No power to the motor after power cable disconnected when removing back wheel"
If the ign wires are always attached (or not) on a generic controller
- Unplug the ign wires and plug them back in will hopefully make the controller will then work again.
Also unplug the battery
Go away and drink some water and come back
Plug in the battery, and go get a cookie to eat, eat it then come back and hook up the ign wires.
Sometimes I will let the controller sit for a longer time, like an hour while I go get groceries, and get a fresher mind to analyze the problem in order to fix it. Unplug everything, look at their wires, look at their connectors, look at the wires insulation, inspect any damage on the controller or its wires.
Simple easy step that doesnt take long to try out.
It has helped me to get the motor going again properly with mysterious issues.