Vasco da Gama coach Joel Santana resigned after one of the most humiliating nights in the club's history in which 40-year-old striker Cicero Ramalho was among the scorers for the visitors.
Vasco South American champions in 1998 left the field to a chorus of insults at the end of the third round second leg game.
'The fans are right to insult us this was a disgrace the team was rubbish' said the 39-year-old former Barcelona PSV Eindhoven and Valencia striker Romario who spearheaded Brazil's attack when they won the 1994 World Cup.
Santana who had been in charge for six months announced his decision minutes after the final whistle as he became the fourth Brazilian coaching victim in five days.
'I thought it was best to leave now' he said.
'This is the world of football and when the team is not up to scratch it's best for the coach to go.'
Vasco had drawn 2-2 away in the first leg and were expected to have few problems in Rio de Janeiro.
But they fell behind in the 25th minute when the portly Ramalho was left unmarked to head into the net.
Ramalho was substituted at halftime while Toni and Henrique added two more goals after the break as Baraunas from the footballing backwater of Mossoro in Brazil's arid Northeast won 5-2 on aggregate.
Vasco da Gama's arch-rivals Flamengo finished with nine men as they were knocked out by second division Ceara.
Flamengo held on for a 1-1 draw away from home but lost 3-1 on aggregate.
Camanducaia gave Ceara a 14th minute lead and Flamengo levelled in injury time with Obina's first goal for the club.
The visitors had Fabiano sent off in the 65th minute for a second bookable offence while Jonatas followed immediately for dissent.
Corinthians under former Argentina captain and coach Daniel Passarella extended their unbeaten run to 10 games by beating Figueirense 2-0 at home in a first leg tie.
Argentine midfielder Carlos Tevez opening the scoring from a controversially awarded penalty and Marcelo Mattos added the second midway through the second half.