You can stop the database server by:
Clicking Shutdown on the Server Messages window.
Using the dbstop utility.
The dbstop utility is particularly useful in batch files, or for stopping a server on another computer. It requires a connection string in its command. See Stop Server utility (dbstop).
Letting it shut down automatically by default when the application disconnects. (This only works if the server is a personal server started by an application connection string.)
Pressing Q when the Server Messages window has the focus on Unix or NetWare computers.
Start a server. For example, the following command executed from the SQL Anywhere installation directory starts a server named Ottawa using the sample database:
dbsrv10 -n Ottawa samples-dir\demo.db
Stop the server using dbstop:
dbstop -c "ENG=Ottawa;UID=DBA;PWD=sql"
Who can stop the server?
Shutting down operating system sessions