 As Mysore edged closer to the outer reaches of the city of Kozhikode, the Samoothiri sent most of his relatives to safe haven in Ponnani, and from there to Travancore, and to avoid the humiliation of surrender committed self-immolation by setting fire to his palace at Mananchira (27 April).Hyder Ali absorbed Malabar district to his state.But as soon as the Haider Ali marched to Coimbatore, Nair rebellions broke out in Malabar.