Unplug the power cord from the appliance. If you are in the process of replacing the motor in the retainer brackets, the washer should already be unplugged.
Loosen the two bolts on the top of each retainer, using a nut driver, but do not remove the hardware.
Set the motor in its original position inside the washer. The short rods on the sides of the motor each fit into a tube on a retainer.
Remove the two bolts on the last retainer and push the tube on this retainer onto the remaining rod on the motor as far as it will slide on the motor rod.
Hold the motor in place with one hand as you replace the two bolts on the final retainer. Tighten all bolts on all retainers with the nut driver. The motor is now secure and you can proceed with completing your repairs or reconnecting the wiring harness to the matching plug on the motor.