Use this procedure when you need to shut down a stand-alone system.
# init 5
For more information, see the init(1M) man page.
In this example, the init command is used to bring a stand-alone system to the run level where it is safe to turn off power.
# init 0 # INIT: New run level: 0 The system is coming down. Please wait. . . . The system is down. syncing file systems...    done Press any key to reboot
Regardless of why you shut down the system, you will probably want to return to run level 3, where all file resources are available, and users can log in.