"Quit and shutdown Seafile Server" using cmd/script

windows
server

#1

Seafile server under Windows can be started using run.bat placed under the seafile-server-X-X-X folder. But I could not find an equivalent of the “Quit and shutdown Seafile Server” option form the tray icon. I need this in order to write customized scripts to start/stop the server.

So my question is, what would be the equivalent script of the “Quit and shutdown Seafile Server” option under windows?