Everton boss David Moyes was sent to the stands as his side beat Stoke in a five-goal thriller on Sunday afternoon.
Moyes had seen Yakubu clinically sidefoot the visitors ahead before Victor Anichebe glanced in a second.
But two Rory Delap's long throws were not dealt with by Everton and Stoke drew level through a Seyi Olofinjana volley and Phil Jagielka's own goal.
Moyes was then sent from the dug-out after Everton were denied a penalty for a Leon Cort handball before Tim Cahill headed in a winner for the visitors.
Everton will feel justice was done, while Stoke will be left ruing the lack of reward for their determined fightback.
They had gone behind after 41 minutes of tame action in which only Ricardo Fuller's angled shot being saved was the main threat of a goal.
Stoke's disciplined ranks had comfortably held Everton at bay as the visitors looked short of the invention needed to engineer a breakthrough.
But the stalemate was broken when Stoke's backline were not their assertive self in clearing a long ball and allowed Yakubu to score.
The Nigerian took two touches as he shifted the ball on to his left-foot before nonchalantly striking home a shot.
Everton were rewarded for their patience and would have added to their lead on the counter-attack only for backtracking striker Dave Kitson to block a Cahill shot just before half-time.
Another lapse at the back then cost Stoke a second when Olofinjana let Anichebe glance in a Mikel Arteta free-kick.
Olofinjana volleyed in after Delap's long throw was not cleared by Everton to atoned for his lapse in concentration and breathed new life into the home crowd.
Everton knew they would have to cope with the aerial threat of the home side as well as Delap's long throws but dealing with them proved another matter.
Stoke upped their intensity and Fuller thought he had equalised when he rounded Howard and slotted in.
But his effort was ruled out as referee Alan Wiley had already blown his whistle for Fuller fouling Joseph Yobo in winning possession.
Stoke's anger at the harsh decision was calmed when Delap's long throw was glanced into his own net by Jagielka.
Everton were then on the receiving end of what appeared a wrong decision when Cort appeared to handle the ball only for the visitors to earn a free-kick just outside the box.
Moyes vented his fury at the assistant referee and was pointed to the stands by Wiley.
He then watched from seats behind the dug-out as Cahill headed in Arteta's corner to earn his side a win which moves them into the top half.