The response that best reflects the implications of the Swahili city-states "hastily" abandoning their stone towns in relation to the arrival of the Portuguese is:
The Portuguese were a threat to the Swahili people and they fled.
This suggests that the arrival of the Portuguese posed a significant danger to the Swahili city-states, prompting them to leave their established towns quickly.