First of all, of course, you should try to close a not responding app in the normal way. Go to app’s menu and select Quit. Alternatively, you can press Command+Q to close the app. If these methods don’t work, then you would need to use a bit of force!
Force Quit Mac Apps
Method 1
Method 2
If mouse is working, you can use Apple menu to terminate a hung application.
There are other methods also to forcibly close a not responding app on Mac. But the above two methods are easiest and would suffice in most of the situations. If you have any questions on this topic, please let us know. We will try our best to assist you. Thank you for using TechWelkin!