 Križanić was freed from exile on 5 March 1676.After that he remained in Moscow until 1678, when he travelled to Vilnius and later to Warsaw.He accompanied a Polish force on its way to liberate besieged Vienna from the Ottomans during the Battle of Vienna, where he died near Vienna while participating in its defence against the Turks in the Ukrainian troops that adjoined the troops of the Polish king Jan Sobiesky in 1683.