Shutting down

Describe how to safely shut down the running system in a controlled manner that doesn’t lead to loss of data or any other unnecessary friction.