How to connect the capacitor circuit to the motor
$begingroup$ The easiest thing is to discharge the cap with a resistor, set the supply output to zero volts (or turn it off) and then connect the capacitor when both are at 0 V. Then you can turn on the supply and …