The GUI expects exclusive permission to write to the database -- for obvious reasons!

The server is a passive read-only process, so it is feasible to reload the database automatically.
As for releasing the shell, I use calibre-server via a linux systemd service. Presumably Windows has a way to create your own system services as well, and unlike me, you might have a clue how to do that.