Yes, for safety reasons, always disconnect the dryer from the power source before cleaning any part of the dryer, including the lint trap, vent, or ductwork.