Jelačić and his survivors joined Archduke John's retreat across Hungary. At the Battle of Raab, he commanded 7,500 infantry of the right flank division. With help from the army reserve, his soldiers drove off the first Franco-Italian attack, but the action ended in an Austrian defeat. He commanded his division at the Battle of Wagram but John's army arrived too late on the field to have any effect on the outcome. He died on 4 February 1810 at Zalaapáti in modern-day Hungary.