If M-5 is going to the trouble of leading the crew on with false circuit controls and then blocking all frequencies
I doubt that it would have been easy or possible to get a clandestine signal off. The machine was pretty thorough.
UHURA: Enterprise to USS Lexington. Come in, Lexington. Sir, I can't raise them. M-5 is blocking all frequencies, including automatic distress.