If you have to take the motor off do yourself a favor and cut the cord. Then add a male and female end to the two sections. This will make testing and removal much easier next time. You may want to cut it short on the motor. It will be easy to add a new short whip and male cord end onto the motor if you have take it to the workbench anyway.
Bill