Effendi's troops came under heavy gunfire by a sizable troop of Qatari infantry and cavalry shortly after arriving at Al Wajbah. They retreated to Shebaka fortress, where they were again forced to draw back from a Qatari incursion. After they withdrew to Al Bidda fortress, Jassim's advancing column besieged the fortress, resulting in the Ottomans' concession of defeat and agreement to relinquish their captives in return for the safe passage of Mehmed Pasha's cavalry to Hofuf by land. Although Qatar did not gain full independence from the Ottoman Empire, the result of the battle forced a treaty that would later form the basis of Qatar's emerging as an autonomous country within the empire.