You can use Activity Monitor to quit a process, even if it’s in a loop or not responding. You can also send a signal to a process, in order to terminate it. If you attempt to quit a process you don’t own, you may be required to authenticate as an administrator to quit the process.
In the process list, select the app or process you want to quit. An unresponsive process is marked with (Not Responding).
Click Delete (x) in the upper-left corner of the Activity Monitor window.
Choose one of the following options:
Quit: This is the same as choosing File > Quit within an app. The process quits when it’s safe to do so. If quitting the process could cause data loss or interfere with another app, the process doesn’t quit.
Force Quit: The process quits immediately. If the process has files open, you may lose data. If the process is used by other apps or processes, those apps or processes could experience problems.
To see if a process is used by another process, choose All Processes, Hierarchically from the View menu.
To send a signal to a process, select it in the process list, choose View > Send Signal to Process, then choose a signal from the pop-up menu, and click Send.