On Windows, CherrPy responds to the Windows Logoff event when the console_event_handler is enabled (as when starting with quickstart). If CherryPy is running as a service (at least a service that logs in as a regular user), the service receives the Logoff event and shuts down. This stops the system service regardless of who logged off, from what session, or when.