Just kill the process or hold down escape
I don't think ESC works for the mac version, instead you have to run the program again, an icon should then pop up in a corner of the screen allowing you to close it