Complex sentence: The Portuguese armada managed to re-take most of the lost cities and began punishing their leaders, but they refrained from attacking Mogadishu.
Split into simpler sentences: The Portuguese armada managed to re-take most of the lost cities and began punishing their leaders. However, they refrained from attacking Mogadishu.