David Moyes admitted he deserved to be sent to the stands after Sunderland tumbled out of the EFL Cup at Southampton.
The Black Cats boss was furious after his struggling side were denied a late penalty when Maya Yoshida brought down Victor Anichebe in the area.
But the Scot's industrial language towards fourth official James Adcock earned him his marching orders as Sunderland crashed out to Sofiane Boufal's strike.
"I was sent off for leaving my box and swearing at the fourth official," Moyes said. "The problem was he chased me down the touchline. I swore at him and I shouldn't have done so I deserved to be sent off."
Moyes was in no doubt about the late penalty claim which angered him but was waved away by ref Chris Kavanagh.
"When you see it again it's a stonewaller, no question," he added. "Inside the box Yoshida fouls Victor, he comes across him, and it should have been a definite penalty awarded."
Sunderland's only two wins this season came in this competition and they remain bottom of the Premier League, but Moyes is confident they are close to turning the corner.
"We didn't deserve to lose," he said. "Our luck's out, but it will change. The performances are getting better and that will lead to goals and to results. Our last couple of performances have merited more."
It was Boufal's night, though, as the club record signing marked his St Mary's debut with a fabulous strike.
In the 66th minute of what had been a dull encounter, the 23-year-old controlled an up-and-under superbly, stepped around Billy Jones and curled home an unstoppable shot.
Saints boss Claude Puel said: "You can see his qualities. He is a fantastic player. It was difficult. I enjoyed the result, of course, for all my players, the experienced and young ones."
Southampton: McCarthy, Yoshida, Fonte, Stephens, McQueen, Reed (Clasie 82), Ward-Prowse, Hojbjerg, Boufal, Rodriguez (Olomola 26), Isgrove (Redmond 72).
Subs Not Used: Austin, Martina, van Dijk, Lewis.
Sunderland: Pickford, Jones, Kone, Djilobodji, van Aanholt, Rodwell, McNair (Pienaar 87), Ndong, Watmore (Gooch 87), Anichebe, Khazri (Defoe 72).
Subs Not Used: Mika,O'Shea, Manquillo, Love.
Referee: Chris Kavanagh (Lancashire)
Man of the match: Sofiane Boufal
Match rating: 5/10