if you wish to restart or quit os 9, you go to the System Preferences (either through the Dock or through the Apple Menu), select Mac OS 9 and there are buttons there to accomplish that.
If you're in a panic, you can Force Quit it, but 9 will consider itself improperly shut down. using the...