 Then he moved to Prague where he joined another resistance group, "Obrana národa", and cooperated with Václav Morávek.After the betrayal of Ladislav Vaněk in the group "Jindra", Pavlík was captured by the Gestapo and imprisoned at Mauthausen.After torture and questioning he was shot.