Learn how your appliance is supposed to operate so you can determine if it is malfunctioning.
Raising the lid on a Maytag washer will stop it, no matter what cycle it is in. Opening the lid opens the lid switch which removes power from the machine. The lid microswitch actuator is mechanically linked to the lid by the plunger rod. If the microswitch housing slides back in its mount, closing the lid will not close the switch and the washer won't operate.
All of the information in these Appliance Clinic procedures is provided FREE OF CHARGE. No liability is assumed by the author for the accuracy of the contents or damages caused by the use of these procedures.