With the game tied 4-4, Martinez lifted a home run off Dellin Betances to right field that barely escaped the glove of Aaron Judge, guiding the Red Sox to a win at Yankee Stadium.
In the bottom of the 8th, the Yankees threatened to tie the game or take the lead but Neil Walker struck out with two runners on base. In the 9th, Craig Kimbrel retired the top of the Yankees lineup in order to earn the save.
The Yankees had been trailing most of the game before fans' new favorite villain, Joe Kelly, let the pinstripes tie the game in the 7th inning. Kelly stepped to the mound with the bases loaded and allowed all three inherited runners to score.
He started by walking Brett Gardner, then allowing an RBI single to Aaron Judge followed by Didi Gregorius grounding into an RBI fielder's choice. After that, Gardner scored the game-tying run on a wild pitch. One pitch later, Giancarlo Stanton grounded out to end the inning.
The Red Sox did their damage to CC Sabathia early and often. The lefty gave up four runs in four innings on nine hits with five strikeouts as he exited after a rain delay. Red Sox starter Eduardo Rodriguez was magnificent, throwing five scoreless innings, allowing one hit with eight strikeouts.
Hanley Ramirez was regularly involved in the Red Sox scoring runs, going 2-4 with a home run and three RBI.
For the Yankees, Jonathan Holder threw two scoreless innings with two strikeouts while Chasen Shreve worked a clean inning as well. Gleyber Torres extended his hitting streak to eight games, going 2-4.
Also, Tyler Austin faced Kelly for the first time since their brawl. Austin swung at the first pitch, but just got under it. He flew out to deep left-center field.
Sometimes a comeback is overcome by one from the opponent.
The Yankees once again showed how dangerous they can be to the point that no lead seems safe. However, the Red Sox showed some resolve of their own and regained the lead immediately as Yankees manager Aaron Boone asked Betances for a second inning of relief.
Despite the loss the Yankees certainly proved a point over the last three weeks, in which they have won each of their six series and went 18-3. This Yankees team is one to be reckoned with and early season expectations that they would battle the Red Sox for first place are playing out.
The Yankees need to be wary of letting down as they begin a stretch in which they will not be playing the top teams in the league as they have over the last few weeks. The Athletics are no slouches and the Nationals are picking it up. The Yanks will have to play good ball to continue winning series and that's what it's all about when it comes to sticking with or staying with the Red Sox.
What's next: The Yankees host the Athletics, who come to town for a three-game set starting on Friday night at 7:05 p.m.