Turn off the circuit breaker or remove the fuse from the fuse box for the circuit that controls the well pump.
Use the nut driver to take out the bolts holding the box-like metal cover on the pump. Lift the cover off the motor.
Disconnect the two wires attached to the motor. If the wires terminate in slip-on connectors, pull off each wire by the connector. On some systems the wires may be soldered to the motor terminals. In this case, clip the wires with wire cutters as close to the motor terminals as possible.
Using pliers, pull out the retainer clip on the motor shaft where it attaches to the pump.
Remove the screws or bolts holding the motor to the mounting bracket with a screwdriver or nut driver, depending on the hardware used in your particular installation.
Pull the motor back and lift in the opposite direction from the pump. Wear work gloves to protect your hands and keep them clean. The motor may now be removed from the assembly.