Kasperi Kapanen was just looking to get off the ice.
Dog-tired at the end of an overtime shift, the Maple Leafs winger cut across the slot before stopping and flicking a harmless-looking backhand towards the net as he tumbled in front of a Red Wings defender.
The surprising end result sent his team into the NHL's Christmas break on a winning note.
Kapanen scored his second goal of the game at 1:53 of the extra period as Toronto fought back from deficits of 3-1 and 4-3 to pick up its fourth straight victory, 5-4 over Detroit on Sunday night.
Kapanen's winner squeezed through the pads of former Leafs goalie Jonathan Bernier — the victim of a couple of howlers during his time in Toronto — and had just enough to get over the goal line.
"I was huffing and puffing," said Kapanen, who already has 14 goals this season after scoring just eight in his first 55 NHL games. "Lucky enough it went in."
John Tavares, who also had an assist, tied the game with 7.6 seconds left in regulation for Toronto (25-10-2) on a deflection as Scotiabank Arena erupted in celebration.
'We had to fight our way back'
Morgan Rielly added a goal and an assist of his own for the Leafs, Frederik Gauthier scored his first of the season, and Garret Sparks made 26 saves for the win.
"We had to fight our way back," Tavares said. "Just competing right to the end."
Frans Nielsen, Filip Hronek, Michael Rasmussen and Christoffer Ehn replied for Detroit (15-18-5). Bernier stopped 19 shots for the Red Wings.
Tavares knotted things up late regulation when he tipped his 24th past Bernier off Jake Gardiner's point shot with Sparks on the bench.
"I saw the puck from the point, but there's no chance I can react to that," Bernier said of the equalizer. "It was a hell of a tip."
Tavares nearly won it a minute into overtime on near-highlight-reel setup from Mitch Marner, but he shot high over Bernier's net from in tight before Kapanen sealed it.
"This group never gives up," Kapanen said. "There's always a chance we're going to come back."
Tied 3-3 through 40 minutes, Nazem Kadri had a chance right at the end of a Toronto power play in the third, but his redirection of a William Nylander pass hit the crossbar.
Watch highlights of Toronto's win over Detroit:
Nielsen eventually snapped the deadlock with 7:57 left when he buried his seventh on rebound past Sparks, who was making his first start for in place of No. 1 goalie Frederik Andersen since allowing five goals on 32 shots in Detroit's 5-4 overtime victory on Dec. 6.
The Red Wings led 2-1 after the first and stretched that advantage at 9:53 of the second when Ehn took a long pass before fighting off both Travis Dermott and Justin Holl and chipping a backhand up and over Sparks for his first NHL goal.
A sluggish Toronto team got some life thanks to its fourth line 2:59 later when Gauthier snapped his first off a pass from Par Lindholm. Trevor Moore, an emergency recall from the AHL Marlies after winger Tyler Ennis broke his ankle on Saturday, picked up the second assist for his first NHL point in his debut.
"A lot of nerves, but it was fun," said Moore, 23. "I just tried to take everything in."