You can rollback or restore the device configuration to a well known device state listed as part of the device state history. That well known state could be a network baseline, or a specific configuration state that is "complete". If the device configuration state is "incomplete", you get a warning that the restore will be not be complete as a result. You can override and continue.
A Device State History may appear as the following (in the Device Properties view).