On 7 July 1944 Matejka was released from the camp and returned to Vienna. He managed to get himself admitted to hospital as a patient in order to avoid the risk of recruitment into the German army. The avoidance of conscription, and possibly also the early release which preceded it, involved him in the use of several medical certificates, some of which were genuinely produced by physicians: others were simple forgeries. He then "disappeared underground" (lived out of official sight and without a registered domicile or an identity card) till the war ended. It is known that during the final months of the National Socialist tyranny Matejka had links with the .