quit-process

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

(quit-process &optional PROCESS CURRENT-GROUP)

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