The four-time Olympic champion failed to mount a third defence of his 5,000m title as Ethiopia's Muktar Edris claimed gold in London on Saturday.
Farah who hangs his boots after the tournament took silver in the tight long distance race.
The 30-year-old's grit and determination to come back from two years of injury hell - she feared that she would have to have her hand amputated when she suffered a bone explosion in her wrist in 2015 - was rewarded with her second world title.
It was the great man's first defeat in a major championship race since the 2011 world 10,000 metres final when he also won silver - and, once again, it took dazzling speed to beat him over the last lap.
Mo Farah of Great Britain (C) and Cyrus Rutto of Kenya (L) compete in the men's 5,000-meter final at the 16th IAAF World Athletics Championships at the London Stadium on August 12, 2017 in London. "I did the Mobot out of respect as well for him".
He had been hoping for one final coronation in front of an adoring home crowd.
"I am the next champion".
Farah finished in a time of 13:33.22, with Edris's time clocked at 13:32.79. Although Australian Patrick Tiernan hit the front on the 3,000m mark and tried to stretch the field, ...
"Tactically, I was trying to cover every move". He is then likely to turn his attention to the marathon.
Kendra Harrison had been the pre-race favourite beforehand after her world record in this Stadium on the Diamond League circuit a year ago.
This marked the latest step in a compelling rivalry which saw the Harper-Nelson beat Pearson to Olympic gold at Beijing 2008 before being pipped into second here by at London 2012.
He said: "I thought it might be possible (to win), but my legs had it".
He fell several metres behind them going down the back straight.
Jamaica's 110m hurdles champion Omar McLeod and relay teammate said nothing had changed with regard to the reputation of Bolt.
Asha Philip, Desiree Henry, Dina Asher-Smith and Daryll Neita secured the first home medal of the Championships other than the two won by Sir Mo with silver in 42.12.