You can log out of isql at any time by typing:
quit
or
exit
Either of these commands returns you to the operating system prompt, and do not require the terminator “go”.
For more details on isql, see the Utility Guide.