ij exits when you enter the Exit command
or, if executing a script, when the end of the command file is reached. When
you use the Exit command,
ij automatically shuts down an embedded Derby system
by issuing a connect jdbc:derby:;shutdown=true request. It
does not shut down Derby if
it is running in a server framework.