Cameroon became the first African nation to ever beat Brazil at the World Cup after a last-gasp 1-0 win but it was not enough for them to advance to the round of 16.
The Selecao changed virtually the whole side that edged past Switzerland, as only Eder Militao and Fred survived, with the attack that had Rodrygo, Gabriel Jesus, Gabriel Martinelli and Antony.
Brazil came very close to go going ahead on 14 minutes after goalkeeper Devin Epassy pulled off a great save to keep out a dipping header by Martinelli.
Tite's charges were in control of the contest but they were not given space in the last third and Cameroon had their first big chance on the stroke of half-time after Bryan Mbeumo forced an out-stretched save from goalkeeper Ederson with a bouncing header.
After going back and forth in the second stanza, Vincent Aboubakar eventually broke the deadlock for the Indomitable Lions in stoppage time with a stunning header that left Ederson flat-footed after a cross by Ngom Mbekeli.
Aboubakar celebrated the goal by taking off his shirt and was sent off after getting a second booking.
Bruno Guimaraes missed a big chance for the Selecao in the tail end of stoppage time after lifting a volley over the crossbar at the back post.
Tite's men qualified as group winners despite the defeat while Cameroon finished in third place with four points.
Switzerland booked their spot in the round of 16 after edging Switzerland in a five-goal thriller in the last Group G clash at 974 Stadium.
The Eagles only made one change from their draw in a six-goal thriller against Cameroon, as Dusan Vlahovic joined Aleksandar Mitrovic upfront.
The Swiss meanwhile, made three alterations, as they recalled goalkeeper Grego Kobel, Fabian Schar and Xherdan Shaqiri.
Shaqiri drew first blood for the Nati on 20 minutes with a deflected shot in the box after receiving a pass from Djibril Sow.
However, Serbia quickly replied six minutes later after Mitrovic guided home a header from a cross by Dusan Tadic.
Vlahovic gave the Eagles the lead ten minutes before the interval with a strike from a loose ball in the box.
Murat Yakin's charges were back level on the stroke of half-time after Breel Embolo tapped in a square pass by Silvan Widmer.
The Swiss went ahead again early in the second stanza after Remo Freuler buried a strike in the box from a pass by Ruben Vargas.
The Nati qualified for the last 16 as runners-up in the group, equal on points with Brazil but having an inferior goal difference while Serbia finished bottom of the section.
You must be SIGNED IN to read and post comments.
Click here to register: Sign In