How to force quit an application in case it gets hung. Force quitting can be done in multiple ways -
1. Press command+option+esc simultaneously. A force quit window will open up. Click on the app which is hung and click force quit.
2. Click on the apple icon on the top left corner of your screen. Click on force quit. A force quit window will open up. Click on the app which is hung and click force quit.