MILWAUKEE (AP) The Colorado Rockies can finally relax on the flight home.

Nolan Arenado hit a go-ahead homer with two outs in the 11th inning and the Colorado Rockies beat the Milwaukee Brewers 5-4 on Sunday thanks to an overturned replay review.

Arenado's 29th homer of the season came off Brewers closer Corey Knebel (2-2) and helped the Rockies avoid a sweep, giving them a sigh of relief after finishing an otherwise tough Midwest trip losers of five of seven.

''These games, they've been extremely stressful,'' Arenado said. ''They've been tough on us. We needed to win that game.''

With Colorado closer Wade Davis struggling, the Brewers rallied for three runs in the ninth off Adam Ottavino in a save situation. Given a second chance, newly acquired reliever Seunghwan Oh closed out the Brewers in the 11th.

Scott Oberg (7-0) got the win, allowing a hit erased by a double play in the 10th.

Nothing came easy, though.

Oh allowed a hit to Travis Shaw to lead off the 11th. After getting Ryan Braun to fly out, Jonathan Schoop singled to put men on first and second.

Erik Kratz then hit a grounder, and Schoop was forced out at second. Kratz was initially ruled safe at first, but it took 58 seconds to overturn the call on video review, ending the game on the double play.

''Didn't see it, I assume they got it right,'' Kratz said. ''We have to assume they got it right.''

It was Oh's first save since coming from Toronto in a July 26 trade.

Davis, who blew consecutive save opportunities on Thursday and Friday, could only watch Ottavino do the same in a wild ninth inning.

''He had some unfortunate happenings around him,'' Rockies manager Bud Black said.

Trailing 4-1, Mike Moustakas led off with a homer for the Brewers. After an out, Braun reached base on a catcher's interference call, and with two outs and two strikes, Ottavino threw a wild pitch that Kratz swung at.

Kratz reached first on the swinging strikeout, and with new life, Orlando Arcia doubled to score Braun. With Kratz on third, Ottavino uncorked another wild pitch, allowing Kratz to score, tying it at 4-all and sending the game to extra innings.

GRAY GREAT

The blown save in the ninth erased a sterling performance by Rockies starter Jon Gray.

He allowed one run over eight innings, scattering four hits and two walks while striking out eight, including the final three batters he faced. In his last four starts, Gray has dropped his ERA more than a full point to 4.73 by allowing just five runs over 29 2/3 innings.

ARENADO'S SPIN

Arenado saved a run in the sixth with some nifty glove work.

With runners on the corners and two outs, the third baseman snagged Braun's chopper moving backward in the hole to his left, then spun and fired a strike to Ian Desmond at first.

''You don't really think about it until you watch the replay,'' Arenado said. ''It's hard to impress Bud because he's been around a long time, but he even said it's one of the greatest plays he's ever seen from me.''

STREAKING STORY

Trevor Story homered for the third straight game with a three-run shot off Brewers starter Wade Miley in the fifth.

Story now has four homers over his last three games, including two in Saturday night's loss, and 24 on the season. In seven games against the Brewers this season, he's hit seven homers to go along with 18 RBIs.

NEW BREW

The Milwaukee Brewers claimed right-hander Jordan Lyles off waivers from the San Diego. The 27-year-old Lyles is 2-4 with a 4.29 ERA in 24 appearances, including eight starts, this season. Brewers general manager David Stearns expects to activate Lyles Tuesday or Wednesday.

TRAINING ROOM

Rockies: Colorado placed RHP Antonio Senzatela (shoulder inflammation) on the 10-day disabled list. The club hopes that RHP Chad Bettis (blister) can come off the DL and take Senzatela's turn in the rotation Tuesday. OF David Dahl was called up from Triple-A Albuquerque to take Senzatela's spot on the roster.

Brewers: OF Lorenzo Cain and 1B Jesus Aguilar each had scheduled days off, but appeared as pinch hitters.

UP NEXT

Rockies: Colorado hopes left-hander Kyle Freeland (9-7, 3.20 ERA) finally finds success against Pittsburgh when the Rockies open a three-game set against the Pirates on Monday night. Freeland is 1-2 with a 6.32 ERA against Pittsburgh, including allowing five runs in an April 18 loss.

Brewers: Milwaukee has a day off on Monday before starting a three-game series against San Diego.

Copyright 2018 by AP. Any commercial use or distribution without the express written consent of AP is strictly prohibited.