Generally the rule is that you can&#x27;t return the board to the position it was last in, but some rule sets extend it to any position it was ever in to avoid a few pathological scenarios. Without this infinite loops can exist.