NEW YORK (AP) -- Cameron Maybin had a two-run single in the 11th inning, and the Atlanta Braves' beleaguered bullpen shut down the Mets over the final four-plus innings in a come-from-behind, 5-3 victory over New York on Saturday.

Atlanta Braves' Nick Markakis (22) and Cameron Maybin (25) celebrate their 11th inning win over the Mets.(AP Photo/Frank Franklin II)

Maybin came up with runners on second and third and one out, and sent a liner off Carlos Torres (2-3) into left-center for the two-run lead.

Facing a Mets bullpen without closer Jeurys Familia, whose son was born while he was finishing off Friday night's win, the Braves rallied for two in the ninth to end a five-game skid against New York.

Andrelton Simmons had four hits for the Braves, who won for just the fourth time in 11 games.

With 37,794 enthusiastic fans standing and cheering, Freddie Freeman tied it 3-all with a liner past diving shortstop Wilmer Flores - three pitches after it appeared Alex Torres had strike three but the 1-2 pitch was called a ball. Maybin singled in a run off Hansel Robles before Freeman stepped to the plate.

Freeman gave Atlanta the early lead with a mammoth homer off Jacob deGrom in the first.

The Braves had already blown five saves in June, but Atlanta used six relievers to retire 14 of the final 16 batters.

Jason Grilli pitched one inning for the win (2-2).

Williams Perez, who made four starts, gave up two singles to open the 11th before getting pinch-hitter John Mayberry Jr. to line into a double play to shortstop. He then finished for his first career save.

The Mets used several defensive gems and took advantage of an error by center fielder Maybin in the seventh inning to open a 3-1 lead against Shelby Miller.

New York had runners on base in every inning but the fourth against the Braves' 24-year-old ace. Miller, though, worked out of every jam until the seventh, when Travis d'Arnaud blooped a single to center. Pinch-hitter Juan Lagares, who singled to start the rally and advanced to third on Curtis Granderson's double, scored to make it 1-all.

Granderson scored when Maybin bobbled the ball in center field for an error. Dana Eveland replaced Miller and Lucas Duda then doubled.

In 6 1/3 innings, Miller allowed a season-high eight hits and three runs, which boosted his ERA from 1.84 to 2.02.

DeGrom pitched seven dominant innings, striking out nine. He allowed five hits and one run, Freeman's drive over the bullpens in right-center and onto a pedestrian walkway called Shea Bridge.

He also knocked down Maybin's sharp comebacker in the third and threw home to nail Simmons trying to score, keeping it 1-0.

Flores made a nifty stop, spin and throw to end the seventh with a runner on third. And Darrell Ceciliani, having just moved from center field to left, threw out Maybin trying to tag up on Freeman's sacrifice fly in the eighth with a perfect throw.

After third baseman Danny Muno made his third error, with two outs in the eighth, Bobby Parnell made his first relief appearance in over a year because of Tommy John surgery and gave up a single. He then got A.J. Pierzynski to ground to second base to maintain a 3-1 lead.

TRAINER'S ROOM

Braves: Manager Fredi Gonzalez said INF Phil Gosselin (broken left thumb) is still in a cast. He had surgery three weeks ago and hoped for a return in eight weeks.

Mets: Lagares was out of the starting lineup for just the second time this season, a planned rest day. ... 2B Daniel Murphy (left quad strain) had six at-bats in an extended spring game. He did not run the bases, though. He's eligible to return from the DL in a week.

UP NEXT

Braves: RHP Mike Foltynewicz was roughed up in his last start, allowing five runs and 12 hits against the Padres. He'll be making his ninth career start and first against the Mets.

Mets: Dillon Gee will make a spot start as part of New York's effort to manage its young starters' innings this season. Recently demoted to the bullpen, the right-hander's outing will give an extra day of rest to Matt Harvey, deGrom and Noah Syndergaard. Gee is 6-5 with a 3.09 ERA in 16 starts against the Braves.

(© 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)