duckweb_stop

scalar · LOAD duckweb

duckweb_stop() -> VARCHAR

Stops every server in the process.

SELECT duckweb_stop();

Closes each listener, tells any certificate renewal to stop with it, and returns the addresses that were being served. Calling it when nothing is serving is an error rather than a no-op, so a script cannot quietly believe it stopped something.

There is no per-server form: this is the shutdown hook a test or a .quit path uses, not a way to retire one site from a port.

Absent from the browser tiers, which have no sockets.