All these conditions were readily agreed to by Malek Azz, and executed with the utmost readiness and punctuality; in consequence of which a treaty of peace and friendship was settled between Azz and the viceroy. Almeyda left one of the liberated Portuguese prisoners at Diu, to load two ships with such articles as were in request at Cochin and Cananor; and besides supplying his own fleet with provisions, he dispatched Norenha with a supply of provisions, and some of the booty procured in the late battle, to his brother Don Alfonso at Socotora. These important affairs being dispatched, the viceroy left Diu and proceeded to Chaul, where the king was so much intimidated by the accounts he had received of the late victory, that he submitted to pay an yearly tribute. Passing thence to Cananor, he was received in the most honourable manner; and entered afterwards into Cochin in triumph. Even before he had laid aside his festive ornaments, Albuquerque pressed him to resign the government, pursuant to the royal orders; but the viceroy begged he would give him time to divest himself of his present heavy robes, after which there would be sufficient opportunity to talk of those matters. Evil councillors fomented the dispute on both sides, some persuading the viceroy to retain the government in his hands, while others incited Albuquerque to insist upon his resignation. The rajah of Cochin even became in some measure a party in these dispute, insomuch that he delayed loading two homeward bound ships with pepper, till Albuquerque should be installed in the government. Disputes at length rose so high, that Almeyda sent Albuquerque as a prisoner to Cananor, where he was courteously received by Lorenzo de Brito who commanded there; and to whom Almeyda wrote a few days afterwards to conduct himself towards the prisoner as one who was soon to be viceroy of India.