In December 1944, Herenčić was promoted to the rank of general and in March 1945 he was appointed commander of 5th Ustasha Corps of the Croatian Armed Forces (, HOS). Herenčić was one of the leaders of the withdrawal of the HOS towards Austria. He participated in negotiations with the British, who decided that members of the NDH armed forces and accompanying civilians would not be allowed to proceed further and would have to surrender their arms to the Yugoslav Partisans. Herenčić was able to escape to Italy and later to Argentina where he died in 1978.