WinPE - What happens when exit from commandline ?


When we exit from the command line in WinPE environment , it reboots the system. my question is Is it gracerful Reboot ? I mean Is this process cleanup tresources, unload drivers properly etc.

If not then what is the right way to exit from winpe environment ?