On September 5, 1939, she left Warsaw for Romania with a group of Polish government officials, which included the Minister of Foreign Affairs, Józef Beck, and her brother, Damian Rogoyski. From Romania, Janiszewska went to France, where in November 1939 she was hired by the cabinet of the prime minister of the Polish government-in-exile. She moved together with the government to London shortly after the fall of France to the Nazis in 1940. In 1943, she began working for the Polish Ministry of Interior.
