
Time is the time at which shutdown will bring the system down and may be the word now (indicating an immediate shutdown) or specify a future time in one of two formats: +number, or yymmddhhmm, where the year, month, and day may be defaulted to the current system values. OS X uses this mode automatically with supported UPSs in emergency shutdowns.

This simulates a dirty shutdown to permit a later automatic power on. The system is halted up until the point of removing system power, but waits before removing power for 5 minutes so that an external UPS (uninterruptible power supply) can forcibly remove power. The system is put to sleep at the specified time. The system is rebooted at the specified time. If -h or -r is specified, shutdown will execute halt(8) or reboot(8) instead of sending a signal to launch(8). If the -o is specified, prevent the file system cache from being flushed by passing -n option to halt(8) or reboot(8). The -k option does not actually halt the system, but leaves the system multi-user with logins disabled (for all but super-users). The system is halted at the specified time. Below, we’ve included the complete list of shut down switches and descriptions from Apple.

The two methods we covered above are only two of the many ways you can shut down your Mac in Terminal. Other Command Prompt Shutdown Switches and Parameters
