Implementing the return to a predetermined state