TORONTO -- Travis Snider admitted it was not the most professional thing for him to do when he snapped his bat over his knee after striking out with the bases loaded in the sixth inning.
"That wasn't a great demonstration of professionalism, but again, sometimes it's competitor's emotions," he said. "I'd like to call it a relief, but it's not one of those things you want to make a regular occurrence."
Snider would not mind, however, if his final at-bat of the game became something of a common occurrence when the situation calls for it. After the Blue Jays forced extra innings, Snider hit a game-winning two-out double in the 10th against Ivan Nova that gave the Blue Jays a 6-5 win over the Yankees on Tuesday.
Snider got his chance at redemption after the Blue Jays tied the game in the ninth with two runs against Mariano Rivera, possibly the best closer of all time, before a crowd of 25,250 at Rogers Centre.
"We all saw the frustration," manager John Farrell said, "but to his credit, he didn't cash in the night. He had an opportunity to win, and obviously he did."
"That's all the inspiration we need as players, is to see what we did in the ninth inning against Mariano," Snider said. "To be able to give ourselves a chance ... to go out there and just have that shot, I'm very thankful for it."
Jon Rauch pitched the top of the 10th to get the win.
Edwin Encarnacion led off the bottom of the 10th with a single against Nova. After Jayson Nix flied out to deep right-center field and Yunel Escobar flied out to the warning track in center, Snider roped a double to the gap in right-center on a 1-0 fastball to send Encarnacion home.
The victory ended a three-game losing streak for Toronto.
The Yankees appeared to be in control when Rivera took the mound to protect a 5-3 lead in the ninth.
But Escobar led off with a double and took third on Snider's groundout. Escobar scored from third with one out after Jose Bautista walked and Rivera was charged with a wild pitch.
"I held the ball too long," Rivera said. "It went the wrong way. It was way too away. It ended up being a wild pitch. I was upset at that one, definitely. In that situation, you can't do that."
"It was uncharacteristic," Farrell said.
Adam Lind followed with a single that moved Bautista to third, and John McDonald, who was playing because Aaron Hill was injured in the sixth, put down a safety-squeeze single to score Bautista to tie the game.
"You can't say enough about the way, once again, this team continues to find ways to scratch and claw their way back into ballgames -- McDonald with a key bunt there in the ninth inning against obviously one of the greatest closers there is, Farrell said. "And it was just an outstanding team effort tonight."
The bunt play is something that was worked on in Spring Training with players who can handle the bat.
"It's just a great play," said first baseman Mark Teixeira. "That's why you run it. When it's run well, it's almost impossible to defend. I thought there might be a chance to get him, so I gave it a quick flip, but it's a great play."
The first baseman had an idea it might be coming.
"I'm holding the guy on first, so it's not like I can play in too much," he said. "That's the beauty of that play for them. They know I can't cheat too much because I've got to hold a guy on at first. The hitter put down a great bunt, and with a fast runner at third, it worked out for them."
The Blue Jays appeared set to win it in the ninth after Jose Molina singled to left to load the bases with one out, but Corey Patterson ended the inning by hitting into a double play.
Yankees starter A.J. Burnett was the first to give up a run when Bautista, who led the Majors with 54 home runs in 2010, smacked 1-1 fastball over the left-field wall for his fourth homer of the season with two out in the first inning.
Blue Jays starter Kyle Drabek had pitched well in his first three starts of the season, but he had 11 walks. And free passes again had him in trouble in the second inning of his fourth start.
He walked Nick Swisher and Eric Chavez to open the second, and Jorge Posada's single scored one run. Russell Martin grounded into a double play to bring home another run.
The Blue Jays tied the game at 2 in third. Burnett walked Bautista, who took second on a wild pitch. Adam Lind hit a bouncer to the mound, and Burnett had Bautista trapped between second and third. But Burnett was charged with an error when his throw eluded shortstop Derek Jeter. Bautista reached third and came home on Hill's sacrifice fly.
Drabek showed better fielding ability that his older counterpart in the fifth after Martin led off with a double. Brett Gardner bunted toward third base and Drabek fielded the ball and threw to third. Martin was out after a rundown. After Jeter lined out to right, Gardner was out trying to steal second.
The Yankees got it right in the sixth. Granderson led off with a single and Teixeira hit his sixth homer of the season on a 3-1 fastball.
After Teixeira belted the go-ahead homer and Dave Robertson bailed Burnett out of a tight spot in the sixth inning, the Yankees appeared to have control of the game.
Burnett desperately wanted to get off to a good start this year, erasing the bad vibes left over by last season's struggles. The right-hander kept it close into the sixth, limiting his former club to three runs (two earned) in 5 1/3 innings.
He needed a huge assist from Robertson, however, leaving a bases-loaded, one-out jam. Robertson answered the call with two strikeouts, including one that left Snider snapping the bat over his knee in frustration as the inning ended.
"It's adrenaline," Snider said. "It just happens. You just deal with it and move on."
Drabek allowed four runs on six hits and four walks in 5 1/3 innings. Posada's RBI single and a run-scoring double play groundout accounted for the first two Yankees runs in the second inning.
Drabek wants to cut down on walks, but his control continues to be "nowhere where I want it to be."
The ninth-inning rally took him off the hook, and he wasn't surprised when Snider won it in the 10th.
"I know what kind off a hitter Travis is," Drabek said. "Any time he can do anything."
Larry Millson is a contributor to MLB.com. This story was not subject to the approval of Major League Baseball or its clubs.