The escape key doesn't exit the game on MacOs. It's customary to have the escape key exit the game when in full screen mode on a Mac. As far as I can tell, there is no exit key whatsoever.