How to quit UI from command line?

The FAQ shows how to kill the zerotier service from the command line. But what about the UI? I tried

osascript -e 'quit app "ZeroTier"'

but I got this message:

0:19: execution error: ZeroTier got an error: Can’t continue quit. (-1708)

I forgot to add, this is on macos

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.