How to Quit an app or Kill a process in Activity Monitor on Mac
Force Quit or Kill App

The Activity Monitor on a Mac helps you to quit a process, even if it is non-responsive or stuck in a loop.
If you attempt to quit a process that was started by another user, or a system process, you may need to authenticate as an administrator.