You can send a kill signal to the ssh
process like others withonce you know the process ID of that tunnel task.
kill -9 $PID
You can findshould search for the ssh
session process ID withamongst the others having ssh in it (sshd, pgrep, the tunnel process and perhaps several others.)
pgrep ssh
Choose carefully which process you kill.