All washing machine hoses should be disconnected and drained. If you elect to place hoses in the tub or drum, be sure to wrap the metal couplings with cloth or paper to avoid damage to the tub’s surface, which could result from bouncing or vibration next time the appliance is used. The electric cord should be unplugged and taped to the back.
The washer drum should be secured (see the instruction manual for specifics). Gas dryers need special care to avoid damaging the flexible gas line. Be sure to turn off the gas supply before disconnecting the flex line from the dryer!