My colleague Amy Walsh shows how to add Exit and Close All Windows button to the Dynamics GP Toolbar
Adding Exit and Close All Windows button to the Dynamics GP Toolbar | DynamicsCare
Archived post from 2011. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.