The official website for The Settlers of Catan

Question about “Cities & Knights” Expansion Barbarians III: Players are Defeated - What happens if I have to downgrade a city to a settlement but don’t have another settlement in my supply?

Answer

Turn one of your cities on its side and treat it as a settlement until you have upgraded it to a city again.