SonicOSX can be rebooted from current settings:
restart-sonicos
Or from factory defaults:
restart-sonicos factory-settings true
Returning to factory defaults could disrupt your testing efforts as current settings are lost.