The kill command is used to terminate processes. To use it, simply use

$ kill -9 PID

where PID is the process ID found by using top. The -9 flag ensures that the process is killed by force.