The rule is "Aviate, Navigate, Communicate".
In an emergency, caring about ATC is literally your lowest priority, in every case. It is ATC's job to notice a plane no longer under their control and route other aircraft safely around it. Your entire job is to do everything you can to prevent the death of anyone onboard, and playing ham radio is rarely the best way to do that.