Sometimes you might want to enter maintenance mode to manage licenses.
This requires the "restart of AOS".
To restart AOS service in your on-prem environment go to the Service Fabric explorer, expand Nodes and restart AOS by clicking on the dotted lines menu to the right of nodes whos name starts with AOS_ and choosing Restart. Do it for all nodes with AOS roles.