The first attack proved disastrous for the new allies and as many as 300 Portuguese ended up dead. However, the Europeans were determined. They came back with a larger force and a siege began.

Assured of his defeat, Kunjali Marakkar told the Zamorin that he will surrender on the condition that he is not handed over to the Portuguese. The king agreed. Pyrard was witness to the surrender. He writes:

"First came 400 Moors, many of them wounded, with their children and wives, in such an impoverished condition that they seemed as dead. These the Samorin bade go where they pleased. Last of all came Kunhali with a black kerchief on his head, and a sword in his hand with the point lowered. He was at that time a man of fifty, of middle height, muscular and broad-shouldered. He walked between three of his chief Moors. One of these was Chinale, a Chinese, who had been a servant at Malacca, and said to have been the captive of a Portuguese, taken as a boy from a fusta, and afterwards brought to Kunhali, who conceived such an affection for him that he trusted him with everything”.