When your Mac seems unresponsive and its GUI frozen, you don’t have to reach for the Power button. Try connecting using ssh: it’s actually very simple and valuable.
telnet
Two recent security issues show how those who should know a good deal better are often too blinded by their own cleverness.