UN chief Ban Ki-moon warned Wednesday that Somalia risks returning to famine barring urgent aid, as he visited the war-torn country three years since more than 250,000 people died of hunger.