Turn it off first
Running a frozen AC unit keeps pulling warm air across ice instead of a cold coil, and that strains the compressor. Shutting the system off and switching the thermostat fan to on lets warm air melt the ice without the compressor working against it. This usually takes a few hours. Pushing through a cooling cycle while the coil is iced over doesn't get your house any cooler. It just keeps the compressor running against a coil that can't absorb heat, and that's the part most likely to fail if this keeps happening.




















