In 726 CE, the Caliphate replaced Al-Junayd by Tamim ibn Zaid al-Utbi as the governor of Sindh. During the next few years, all of the gains made by Junayd were lost, as according to Blankinship the possibility that the Indians must have revolted, or the problems were internal to the Arab forces. After Tamim passed away, Al-Hakam restored order to Sindh and Kutch and built secure fortifications at Al-Mahfuzah and Al-Mansur. He then proceeded to retake Indian kingdoms previously conquered by Al-Junayd. The Arab sources are silent on the details of the campaigns. However, several Indian sources record victories over the Arab forces. Indications are that Al-Hakam ibn Awana was overstretched. An appeal for reinforcements from the Caliphate in 737 is recorded, with 600 men being sent, a surprisingly small contingent. Even this force was absorbed in its passage through Iraq for quelling a local rebellion. The death of Al-Hakam effectively ended the Arab presence to the east of Sindh. In the following years, the Arabs were preoccupied with controlling Sindh. They made occasional raids to the seaports of Kathiawar to protect their trading routes but did not venture inland into Indian kingdoms. These coastal incursions by al-Hakam which done in the areas which conquered by al-Junayd years ago were the last known Umayyad presence in Sind.
