Keyboard shortcut to stop an Automator service (Quick Action)

Try the following:

  • Create a new Automator Quick Action.
    • Workflow receives [no input] in [Mail]
  • Add a Run Shell Script action.
    • Shell: [/bin/zsh]
    • Pass input: [to stdin]
  • Add the following command to the Run Shell Script action:
    • pkill -9 com.apple.automator.runner

Notes:

In System Preferences > Keyboard > Shortcuts > Services I assigned it a keyboard shortcut of: ⌃⌥⌘Q

I tested this in macOS Catalina, as I do not have Mail setup under macOS Big Sur, and it work for me without issue.

This will kill all Automator Service/Quick Action that are running.