It wasn't a come-from behind win, but it sure felt like it.

After giving up a four-run lead in the seventh, Billy Hamilton doubled in Zack Cozart in the top of the ninth to give the Reds a 6-5 victory over the Brewers in the first game of the three-game series at Miller Park against the division-leaders.

"Having a 5-1 lead in the seventh and losing that game, it would have taken a lot more for us to come out with a similar vigor -- we would, but it'd take a little wind out of the sails for sure," Reds manager Bryan Price said. "It was a big rebound game. That seventh inning can take a lot of wind out of your sails and set you back a little bit, but the boys fought hard and I'm really proud of the effort."

Tied at 5, Cozart led off the inning with a single to left off of Brewers closer Francisco Rodirguez. Manager Bryan Price originally had Roger Bernadina in the on-deck circle to hit for reliever Jonathan Broxton, but after Cozart's single, he sent Ramon Santiago out to bunt Cozart over. Santiago got the first pitch he saw down the line at first, allowing Cozart to advance.

Hamilton was 0 for 4 on the night before facing Rodriguez, who entered the day tied for the National League lead in saves with 20.

The Reds rookie center fielder noted the scouting report against him is to throw curveballs -- and Rodriguez owns one of the best in the game. Hamilton fouled off Rodriguez's first pitch -- and curveball -- and then lined a 90-mph fastball to right, scoring Cozart.

"First pitch he went curveball, I was like, 'He's gotta be coming back with it,'" Hamilton said. "But the way I'm taught to hit is fastball and adjust to curveball. Somehow I end up with my hands being quicker than I thought they were and getting on top of a fastball that's in. It's a big win for us."

Aroldis Chapman came into the game in the ninth to face the top of the Brewers order and retired them in order, ending the game with Jonathan Lucroy swinging through a slider for the third strike and the third out. It was Chapman's 11th save of the season.