MIAMI -- The Yankees won Giancarlo Stanton's homecoming game but may have lost their closer.
Aroldis Chapman left the game with pain in his troublesome left knee, and New York scrambled to close out a 2-1 win over the Marlins in 12 innings Tuesday night.
Stanton, playing in Miami for the first time since he was traded after eight seasons with the Marlins, received a warm reception from the crowd and missed his 300th career homer by a few feet.
After Yankees backup catcher Kyle Higashioka raced home on a sacrifice fly in the 12th, Chapman came on to try for his 32nd save. He walked Isaac Galloway leading off, threw a wild 96 mph fastball to the next batter and signaled to the dugout.
After consulting with a trainer, Chapman departed. He said he felt pain in the same spot as in the past, but worse than before. He averaged 96 mph on his fastball, his lowest for any outing since 2013, according to ESPN Stats & Info.
"Previously I've been able to pitch with it, to manage it," the Cuban said through a translator. "The discomfort is constant."
Tommy Kahnle came on to earn his first save since 2016. Higashioka threw out Galloway trying to steal second to end the game.
Chapman will likely undergo an MRI to diagnosis his ailment, manager Aaron Boone said.
"Virtually every other time he has been able to work through it," Boone said. "For him to call attention to it, that has me concerned."
The Marlins had runners at the corners with none out in the ninth, and loaded the bases with none out in the 11th, but both times failed to score. Chad Green and A.J. Cole (3-0) pitched out of the jams.
The Yankees (79-46) won their fourth game in a row to climb 33 games above .500 for the first time since 2011.
When Stanton stepped to the plate in the first inning and received a loud ovation from the crowd of 26,275, he saluted, waved and patted his chest while looking toward the stands.
"That was really cool -- definitely more than I could ask for," Stanton said. "That's going to be one of the more special moments of my career."
He then singled sharply to left field. A brief scoreboard tribute to Stanton in the second inning prompted more cheers while he stood in right field, and he waved his cap.
Stanton barely missed a homer when he doubled off the left field wall in the fifth. He also struck out three times and grounded out to remain at 299 career homers.
Higashioka entered the game in an 11th-inning double switch and led off the 12th with a single against Javy Guerra (1-1). After the Yanks loaded the bases, Miguel Andujar hit a flyout to left field, and Higashioka slid home ahead of the throw.
The Yankees played without shortstop Didi Gregorius, who went on the 10-day disabled list with a bruised left heel. That left the Yankees without three injured regulars, and the depleted lineup managed only three hits in the final eight innings.
"It's not easy for us right now," Boone said. "We're going through a tough stretch. But that's also an opportunity for guys to step up."
Seven Yankees relievers combined for six scoreless innings. Miami went 0 for 10 with runners in scoring position.
"The execution in those situations -- I think some of that is lack of experience," Marlins manager Don Mattingly said.
Marlins right-hander Tayron Guerrero threw 14 pitches at 100 mph or more in the seventh, when he struck out the side.
Yankees: RHP David Robertson sat out because of tenderness in his throwing shoulder. He said he expects to be available Wednesday. ... C Gary Sanchez (groin) is expected to begin a rehab assignment Thursday in the Gulf Coast League, and then go to Triple-A Scranton-Wilkes-Barre for about a week of games.
More AP baseball: https://apnews.com/tag/MLB and https://twitter.com/AP-Sports
Follow Steven Wine on Twitter: http://twitter.com/Steve-Wine.
NL East Stock Watch: Which team is having the best winter?
The division's four contenders have made the biggest moves to restock their rosters, but they're far from finished.
Schefter: Murray will go in 1st round
Adam Schefter joins SportsCenter to analyze Kyler Murray's decision to declare for the NFL draft.
Kyler Murray declares for 2019 NFL draft: Answering questions about what's next
Murray has declared for the NFL draft. Can he still play baseball? What are the key dates to pay attention to? Here's what you need to know.
Deion: Murray has to be fully invested in football
Deion Sanders breaks down why Kyler Murray can't be a multi-sport athlete like himself and Bo Jackson.
Derek Holland re-signs with Giants on one-year deal
Derek Holland, who made 30 starts with the Giants last season, re-signed with San Francisco on a one-year deal, the team announced.
How Bryce Harper and Manny Machado measure up among baseball's best
This winter's free-agent duo will be very rich pretty soon, but where do Harper and Machado rank among the best players in baseball right now?