sudo command kill mac process code example Example: kill process macos Click on top left menu -> Macos (Apple) -> force quit