Aguilar drives in 3 but Brewers lose to Marlins 5-4 in 12Miami Marlins' Starlin Castro is mobbed by teammates after he hit a walk-off single in the 12th inning of a baseball game against the Milwaukee Brewers on Wednesday, July 11, 2018, in Miami. The Marlins won 5-4. (AP Photo/Wilfredo Lee)
Aguilar was added to the NL All-Star team Wednesday night and then validated the selection with three hits and three RBIs, but his teammates went 1 for 14 with runners in scoring position and Milwaukee lost 5-4 to the Miami Marlins in 12 innings.
''That's going to happen,'' Aguilar said. ''We've got to keep going. We're playing really good. We've got to turn the page.''
Starlin Castro singled home the winning run with one out in the 12th.
Aguilar doubled home a run in the first, singled in the fourth and hit a tying, two-run double in the eighth against Drew Steckenrider. He also learned he won the online vote for the final NL roster spot and his first All-Star berth.
''A lot of people believe in my name,'' the Venezuelan said. ''It's really good. The campaign was unbelievable - the people in Wisconsin and around the world really supported me. It's a great thing.''
Aguilar, who will also compete as the top seed in the Home Run Derby next week in Washington, came into the game leading the NL in homers, slugging and OPS. He has 67 RBIs and is batting .307.
Miami's Garrett Cooper led off the 12th with a single against Jorge Lopez (0-1) and went to second on a groundout. Castro then grounded a single to left field and Christian Yelich's throw home was off line, allowing Cooper to score standing up.
''Yelich is a really good player, but his one downfall is he doesn't throw great,'' Marlins manager Don Mattingly said. ''You've got to challenge there and make him throw you out.''
The Marlins took two of three in the series from the NL Central leaders, winning twice in extra innings.
''We're knocking on the doorstep and making it really hard to take us down,'' Brewers manager Craig Counsell said. ''But they outlasted us tonight.''
The Marlins, who have the NL's worst record, hit a new attendance low. The crowd of 5,265 was the smallest in the seven-season history of Marlins Park, and a few hundred fans remained at the finish.
The 4 1/2-hour marathon wasn't what the Brewers needed as they near the end of a stretch in which they play 20 days in a row, including a doubleheader Saturday at Pittsburgh. Counsell said he ran out of pitchers, which is why reliever Lopez batted in the 12th with two on and two out.
''We managed to get to the 12th inning in that scenario, which was quite an accomplishment,'' Counsell said. ''We just didn't ever get that run across.''
With the score 4-all, Miami reliever Kyle Barraclough walked the bases loaded in the ninth, but Yelich struck out on a pitch in the dirt to end the threat.
Miami starter Dan Straily allowed one earned run in six innings, matched his season high with seven strikeouts and got his first RBI of the season with a bases-loaded walk. Elieser Hernandez (1-5) pitched two scoreless innings for his first career win.
''I've got to be better,'' Peralta said.
Brewers 3B Travis Shaw left the game when he tweaked his ankle, but said the injury wasn't serious.
Marlins backup catcher Bryan Holaday reached base three times, singled home a run and threw out two runners trying to steal. He started his third game in a row while All-Star J.T. Realmuto is on paternity leave.
Brewers: LHP Wade Miley (1-0, 1.42 ERA), who has been sidelined with a strained right oblique, is expected to be activated to start Thursday at Pittsburgh. It will be his first outing since May 8 and only his third this year.
Marlins: After a day off, the Marlins begin a three-game series at home against the Phillies, with LHP Wei-Yin Chen (2-6, 6.14) scheduled to start Friday.
More AP baseball: https://apnews.com/tag/MLBbaseball