Answer
Via Spain, Rejewski escaped after the Vichy occupation. He fled to France in 1940, where he joined the Polish Army. After the fall of France, he escaped to Spain, where he was interned in a camp. In 1943, he managed to escape from the camp and make his way to England, where he continued his work on breaking German codes.