Termination of Agent (Windows)

The termination methods are different depending on the startup methods: by using a command and by using a Windows service.

Also, the method differs depending on your system environment.