rollback a exit command