return to state before pausing