mac kill process by name code example
Example 1: mac kill process by PID
$ sudo kill -9 PID
Example 2: kill process macos
Click on top left menu -> Macos (Apple) -> force quit
$ sudo kill -9 PID
Click on top left menu -> Macos (Apple) -> force quit