The Portuguese not only regained the Mangalore fort but also captured Kundapur (Basrur). Despite these gains, Abbakka Rani continued to remain a source of threat. With the help of the queen's estranged husband, they mounted attacks on Ullal. Furious battles followed but Abbakka Rani held her own. In 1570, she formed an alliance with the Bijapur Sultan of Ahmed Nagar and the Zamorine of Calicut, who were also opposing the Portuguese. Kutty Pokar Markar, the Zamorine's general fought on behalf of Abbakka and destroyed the Portuguese fort at Mangalore but while returning he was killed by the Portuguese. Following these losses and her husband's treachery, Abbakka lost the war, was arrested and jailed. However, even in prison she revolted and died fighting.