Marchenko put Toronto up 2-1 at 13:10 of the first period on the power play when he took a pass at the side of the net from Tavares, curled out from along the goal line and flipped the puck between his legs over Luukkonen’s glove.
Quinn tied it 2-2 at 2:41 of the second period. He took a cross-ice feed from Ostlund, toe-dragged around Jake McCabe and finished a wrist shot from the top of the right circle.
The Maple Leafs went up 3-2 at 11:13 after Tavares poked a puck loose along the sideboards, where Marchenko collected it and shot high to the glove side from the top of the left circle.
Marchenko completed the hat trick to make it 4-2 at 16:51 after one-timing pass in the slot from Colton Sissons, who was behind the net.
It was Marchenko's first hat trick with Toronto and fifth in the NHL.
“I will remember this night for sure but a win is more important and I’m kind of frustrated because it was my mistake in overtime,” Marchenko said. “I want to win games more and more and I just learn from that.”
Dennis Gilbert cut the deficit to 4-3 at 10:05 of the third period when his shot got through traffic past Bobrovsky’s glove from the blue line.
Samuelsson evened the score 4-4 at 12:16, taking a pass from Tage Thompson and placing a shot over Bobrovsky’s blocker from the high slot.
“I would say it seems like (we have been more passive) in the last three or four games than the first home stretch,” Toronto coach Jim Hiller said. “Sometimes good players can do that to you, they can get some separation and that makes it look difficult. We have to be better (in the defensive zone), there’s no question.”