In Linux you need to identify the process ID using the command (pick ipykernel_launcher process):
ps aux | grep ipykernel
Process ID
Then, use these commands to pause and resume the kernel:
kill -SIGSTOP 557
kill -SIGCONT 557