The air compressor continues to run, usually at full RPM, but no air is delivered because the inlet is closed.  Generally, a lubricated screw compressor consumes about 35% of energy during unload state without delivering any air output.