Here is how to manually restart or stop Virtuoso from the command line.

The following article was used as a reference.

https://stackoverflow.com/questions/42575039/how-to-manually-restart-or-stop-virtuoso-from-commandline

The following approach seems to work well.

isql{host}:{port}{UID}{PWD}EXEC=shutdown

A specific example is as follows.

isqllocalhost:1111dbadbaEXEC=shutdown

If isql is not found as shown below, change the path and execute.

ibf///saiuruqsnsoslhdrr:t/llloivocs-cicaqnarallaltlh:m/u/oebobscisitoinn:ms/1mqioi1alsps1nqeq1dlnlsdnolbouoatrccadfelbo/haubonisEdntXs:Er1Cc1=/1st1heusdttbdsao/widnsbqalEXEC=shutdown

I hope this serves as a helpful reference.