stop-process

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

(stop-process &optional PROCESS CURRENT-GROUP)

Stop process PROCESS. May be process or name of one.
See function `interrupt-process' for more details on usage.
If PROCESS is a network or serial process, inhibit handling of incoming
traffic.