Quit TeamViewer via mac command line

Hello,

After several times of logging into/out of my host machine, TeamViewer is unable to authenticate the connection.

To fix this I restart the host computer via SSH.

However, I cannot connect or authenticate (both happen sometimes) his way any longer since I have processes running that I can't interupt with a restart.

I should be able to kill TeamViewer through my ssh tunnel.

However, it automatically restarts everytime, even after removing the launchctl processes and deleting all teamviewer plist files.

How can I quit teamviewer via command line and prevent from restarting?!

Thanks.