sentences:  The Portuguese armada managed to re-take most of the lost cities and began punishing their leaders, but they refrained from attacking Mogadishu, securing the city's autonomy in the Indian Ocean.Ajuran's Somali forces would eventually militarily defeat the Portuguese.The Ottoman Empire would also remain an economic partner of the Somalis.