Daniel Murphy hit a game-ending RBI single in the ninth inning, Luis Castillo made up for David Wright's absence with a rare two-run homer and the scrappy New York Mets beat the San Francisco Giants 3-2 on Sunday.
Francisco Rodriguez (3-4) struck out the side in the ninth to earn the win, one day after giving up Bengie Molina's homer in the 10th inning of a 5-4 loss.
Castillo connected with two outs in the fifth inning off Jonathan Sanchez for his first homer since May 30, 2008, at Shea Stadium. Left fielder Fred Lewis barely turned around to watch the ball land in the second deck of spacious Citi Field, giving New York a 2-1 lead.
The Giants answered with a run in the eighth before the Mets put together the winning rally.
The team plays the final game of the New York series Monday.
Also Sunday, Mets All-Star David Wright is out of the hospital a day after getting hit in the helmet by a pitch from San Francisco's Matt Cain.
Team spokesman Jay Horwitz said Wright had a headache and was experiencing "post-concussion symptoms" after he was released from the Hospital for Special Surgery.
Wright was hit squarely in the helmet by a 94 mph fastball from Cain in the fourth inning Saturday. His helmet went flying into the air as Wright crumpled to the ground in the batter's box, where he lay for several minutes before getting helped off the field.
Horwitz said Wright saw a neurologist Saturday night and again Sunday. He's expected back at the ballpark this week, but there is no timetable for his return to the lineup.