kill-process

kill-process is a built-in function in `C source code'.

(kill-process &optional PROCESS CURRENT-GROUP)

Kill process PROCESS. May be process or name of one.
See function `interrupt-process' for more details on usage.