Revert exit repeat loop