In Rabi al-Awwal 821 AH (April/May 1418) Hasan ordered his men to pledge allegiance to Barakat, indicating his intention to transfer power to his son.
In Cairo, the Sultan received Hasan and confirmed him as Emir of Mecca, but only after he agreed to pay the sum of thirty thousand dinars.
On the way back from Egypt Hasan fell ill; he returned to Cairo and died there on Thursday night, 17 Jumada al-Thani 829 AH (25 April 1426).
After Sharif Hasan's death Barakat and Ibrahim responded to summons from Barsbay and left their brother Abu al-Qasim in charge of Mecca.
The Sultan also demanded an annual tribute of ten thousand dinars and the customary share owed to him from the customs duties (mukus) of Jeddah.