SAN FRANCISCO -- Mets outfielder Jason Bay had put his head down and took a few steps in thinking the game was over. It wasn't, and he took advantage of the extra chance.
Ike Davis doubled him home for the go-ahead run in 10th inning after the Mets had wasted a two-run lead in the ninth, and New York survived a wild ending to beat the San Francisco Giants 4-3 on Sunday and avoid a four-game sweep.
Pinch-hitter Travis Ishikawa hit a tying, two-run single in the ninth inning for San Francisco, but he was thrown out at the plate on an infield chopper as the potential winning run. Replays showed Ishikawa appeared safe as he slid into home.
"When you see the catcher jump you think it's over," Bay said. "We had no business losing that game, and at the same time, there was a point we had no business winning that game. We don't have the luxury when [Johan] Santana gives up one run of not winning his starts."
Giants manager Bruce Bochy also thought the game was over and his team had won.
"He missed it," Bochy said of plate umpire Phil Cuzzi. "It was a tough call, game over, but he thought he got him. Ishi got a great jump there, a high throw, and we all thought the game was over. Unfortunately that call went against us."
Ishikawa said he went through a spectrum of emotions as he slid home.
"Phil and I disagreed," Ishikawa said. "To be so sure of something and I guess I was wrong. I saw the replay and it was closer than I thought it was initially. I didn't think it was anywhere near close, but I still think like I had made it."
Giants closer Brian Wilson (2-1) got the first two outs of the 10th before giving up Bay's third single of the game. Davis, who also drove in a run in the eighth, doubled high off the right field wall for the go-ahead run.
"I was scoring regardless," Bay said. "I was not going to be stopped."
Mets closer Francisco Rodriguez (3-2) blew his fourth save in 26 chances -- and wasted a stellar start by Santana -- in the ninth inning, but he earned the win when Davis delivered.
"I wanted to go back out and redeem myself after the meltdown in the ninth," Rodriguez said. "I wanted to finish it after the guys picked me up."
"He asked me to go back out if we scored," Mets manager Jerry Manuel said. "He's our guy and we have to let him get that shot. We have to show confidence in him."
David Wright led off the fourth inning with his 15th home run of the season.
Santana had his 16-inning scoreless streak snapped in the first when Buster Posey hit a sacrifice fly to give the Giants a 1-0 advantage. But that was all he allowed, giving up eight hits and one walk. He struck out five.
"I had to step up," said Santana, who has still allowed a mere two runs over his last 31 innings for a 0.56 ERA. "It's getting to a point where I have all pitches working."
Rodriguez walked Pablo Sandoval and gave up a single to Uribe to start the ninth. After Whiteside sacrificed the runners up a base, Ishikawa delivered his hit.
"The guy was out," Manuel said. "I haven't seen the replay. What are you talking about?"
Wright took over sole possession of fourth place on the Mets' career home run list with 156, breaking a tie with Dave Kingman. Bay finished 3 for 5 after going 3 for 28 over his previous eight games.
Sanchez and Aubrey Huff each had two hits for the Giants, who lead the majors in runs scored this month. Giants starter Jonathan Sanchez allowed two runs on six hits over seven innings. He walked one and struck out five.
Wright took a hard grounder off his right knee in the sixth but stayed in the game. He has hit safely in 11 of his last 13 games. ... Posey extended his hitting streak to 12 games with a single to lead off the sixth. ... 2B Luis Castillo (bruised right heel) will join the Mets in Phoenix on Monday, when SS Jose Reyes is also expected to return to the lineup after missing five games with a sore side. ... Giants RHP Chris Ray has allowed five of the last seven hitters he's faced to reach base. ... Ishikawa has a batting average of .478 (11 for 23) as a pinch hitter. ... The Giants were 1 for 15 with runners in scoring position, leaving 10 on base.
Mookie Betts gives his perspective on the fan interference play against Jose Altuve in Game 4 and the emotions late in the game.
��� Left fielder Andrew Benintendi made a diving catch with the bases loaded for the final out, and the Boston Red Sox held off the Houston Astros 8-6 on Wednesday night to take a 3-1 lead in the AL Championship Series.
With the bases loaded in the bottom of the ninth, Alex Bregman hits it to left field where Andrew Benintendi dives to make the game-ending catch.
With the bases loaded and two out in the ninth, Josh Reddick makes a great play on Mookie Betts' hit to right field to end the inning.
J.D. Martinez lifts a single to score Mookie Betts in the eighth inning to give the Red Sox an 8-5 lead.
Tony Kemp hits a rope to right field and hustles to make it a double, but Mookie Betts fires a dart to second base to get Kemp out.