Control-Command-Media Eject is the graceful restart: every app is asked to quit, so you get the chance to save open documents before the Mac comes back up.