Theseus was supposed to follow his thread to retrace his steps, but instead he made a nontrivial loop each time.