This command will safely turn off a Solaris system using the init command.
As superuser,
sync; sync; init 5
Using the init command instead of other options causes the system to use the runtime control scripts in /etc/rc0.d to stop system processes nicely and prevent data corruption.