 In 1684, he returned to the battlefield, liberating Sinj, Lika and Krbava by 1686.In 1685, helped to free Gračac and Sinj, participated in operations around Zadvarje, Vrgorac, Čitluk and Ljubuški.In the summer, Stojan with count Fran(j)o Posedarski had brought 300 families with him from Lika to Dalmatia, In July 1686, with Smoljan Smiljanić, commanded 5,000 infantrymen and 1500 horsemen when successfully attacked Livno and Glamoč.