Unplug the appliance from the wall outlet if you have an electrical dryer, or turn the gas knob to stop it completely if you have a gas dryer. Move the dryer if necessary to get access to the back, locate the vent and carefully disconnect the hose, and then unfasten the other end of the hose from the port on the wall.