As an alternative to using DirectConnect Manager to stop the server, you can use the stopsrvr utility that shuts down the server and terminates all client connections. A password is not required. This will work only if the sa user password was not modified.
If you invoke stopsrvr when a client
is performing work such as batch processing, the utility fails to
stop the server, and both the client and the server suspends operations.
The stopsrvr format is as follows:
stopsrvr [-v|-h] -Sserver_name [-ddelay]
where:
-v displays the program version only.
-h displays the stopsrvr format.
-S shows the name of the server to be shut down.
-d is the delay, in seconds, before client connections are terminated. The default is 3.