In Łodygowice he engaged in underground activity of the ZWZ. On 13 January 1940 he tried to escape from the country crossing the border near the mountain of Pilsko but was captured by Slovakian police and sent back. In March, after the Easter, he tried to escape again. He managed to get to Budapest and acquire false identity documents there. Through Yugoslavia he got to Split and from there to Lebanon on board of the Greek ship Patris.