kill
From Mac Guides
kill is a Terminal command used to terminate processes. You may need to do it with sudo for system processes.
[edit]
Examples
The following example kills the process that has the process id 10187. To determine the process id of a process you can use the Terminal command top.
kill 10187

