The Marlins’ shortcomings on this trip had been glaring and repetitive.

Too many wasted opportunities. Too many winnable games slipping away in late-inning failures.

A night after the most crushing defeat of the season, emotion swung 180 degrees Saturday as the Marlins got the big hit and the lockdown effort by the bullpen in a 7-6 win in 10 innings over the Mets at Citi Field.

The Marlins battled back from an early 5-1 deficit. Then, in the top of the 10th, Jarrod Saltalamacchia’s second opposite-field home run in two nights provided the opportunity for Steve Cishek to atone for Friday’s ninth-inning meltdown.

The usually reliable closer got the job done despite issuing a one-out walk, and beleaguered reliever Mike Dunn earned the victory with two scoreless innings.

“When I was coming to the ballpark today, I was thinking, 'Man, we've got to get Cishek back in there,' manager Mike Redmond said.

“I wanted to get back out there right after yesterday’s debacle. I was ready to go,” Cishek said, adding, “I lost some sleep last night.

“It’s great to come back and answer the call and get the job done for the guys.”

Saltalamacchia drove Kyle Farnsworth’s 95-mph fastball over the wall in left-center for his fourth homer in nearly the same spot he hit one in the eighth inning Friday.

“This air, it’s tough to get it out of here, so I wasn’t trying to hit anything out. I was able to get a fastball down and away that I could do something with,” Saltalamacchia said.

Earlier, Giancarlo Stanton’s seventh home run, a two-run shot that also went opposite-field, turned around a game that was slipping away from the Marlins. That sparked a five-run sixth inning that wiped out a 5-1 deficit. It pushed Stanton’s RBI total to 29, 27 of them in April. He’s three away from Moises Alou’s club record for the month.

More notable was what followed. Adeiny Hechavarria’s run-scoring single cut the deficit to 5-4. Clutch hits have been a rarity on this run-starved trip.

Pinch hitter Johnson delivered another off reliever Carlos Torres on an opposite-field drive to the right-field corner for a two-run double that put Miami ahead 6-5.