At the end of July 1806, the Vizier with 45,000 soldiers dispatched from Šabac heading for Belgrade. At the same time, Karađorđe had left the Morava with 8–9,000 soldiers and awaited the Ottoman force on the field of Mišar. The Serb rebels destroyed the Ottomans in the battle; the decimated Ottoman troops were forced to retreat to Šabac, from where they would leave for Bosnia. Čupić, who participated in the battle, hurried to Mačva to intercept the fleeing Ottoman troops; near Drenovac he cut down acclaimed Mula of Sarajevo.