DETROIT -- A day after hitting his first major league home run, Garrett Cooper connected again.
In grand fashion, too.
Cooper hit a grand slam with two outs in the ninth inning and the Miami Marlins won their sixth in a row, rallying past Detroit 5-2 Thursday to finish a terrible homestand for the Tigers.
Cooper jumped up and down up the first base line as his ball sailed into the left field seats.
"Probably one of the better feelings, I think I pimped it a little bit," Cooper said. "As soon as I got it off the bat, I knew I got it pretty good."
The Marlins, who had the worst record in the majors last week, extended the longest active winning streak in the big leagues.
The Tigers wrapped up an 0-9 stay at Comerica Park against Houston, Oakland and the Marlins. That record doesn't include a suspended game in which Detroit trails Oakland in the late innings.
Cooper homered off Shane Greene (0-2), who had been 15 for 15 on save chances this season.
"I just got to pitch better," Greene said. "It's my job to close the door there and I couldn't do it."
Instead, Cooper homered on an 0-1 pitch.
"As I walked in and told those guys, this is really hard," Tigers manager Ron Gardenhire said. "We have to stick together, we have to have each other's backs. There's kids in there that are really upset. They know how the game went, they know what happened. We have to have their backs and I have their backs."
Greene later induced a double-play ball to Rodriguez that would've ended the game. But Rodriguez bobbled it and Miguel Rojas was called safe at first, which was held up on replay.
"The only person I'm pointing the finger at today is myself," Greene said. "I just got to make a pitch and pick up the team there and I couldn't do it."
After an intentional walk to pinch-hitter Curtis Granderson loaded the bases, Cooper took Greene deep.
On Wednesday, Cooper hit a home run in the sixth inning to spark a 6-3 comeback win in his 39th career game.
"It's been an up-and-down roller coaster this past year and a half," he said. "Just to play every day, that's what I've been doing my whole life and doing in the minor leagues."
Miami finished off its second straight sweep, having beaten the New York Mets last weekend.
"The club is gaining a little confidence, but it goes back to our starting pitching giving us a chance," Marlins manager Don Mattingly said.
Marlins starter Trevor Richards struck out six over 5 2/3 innings, allowing eight hits and one run.
Cabrera had an RBI single in the eighth. It was his second hit of the game and moved Cabrera into 60th place on baseball's career hit list with 2,727, one more than Chipper Jones.
With the bases loaded in the sixth inning, Rodriguez hit a flyball to left field. Austin Dean made a sliding catch on the sacrifice fly for a 1-0 lead.
Cabrera went into the game tied with Carlos Beltran for 61st on the hits list.
After beating the Chicago Cubs 6-5 on May 6, the Marlins dropped three straight at Wrigley Field to open a seven-game losing streak, which included two-game sweeps against the New York Mets and Tampa Bay. Then, Miami swept the Mets and Tigers, taking three in Detroit by a combined six runs.
"Just as bad as it looks one day, it looks great six days later," Mattingly said. "Stay humble, keep working and just try to ride this as long as we can."
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP-Sports
Yankees get their man in Gerrit Cole -- but 9 years is a looong time
Bringing a title back to the Bronx just got that much more likely, but a nine-year deal buys risks as well as rewards.
Rangers trade OF Nomar Mazara to White Sox for prospect
The Rangers have traded outfielder Nomar Mazara to the White Sox for top prospect Steele Walker, the teams announced Tuesday.
Yanks land Cole on record-setting deal for pitcher
Jeff Passan breaks down the Yankees' agreeing with Gerrit Cole on a nine-year, $324 million deal.
What risk? With Gerrit Cole, the Yankees are now THE team to beat
The Yankees now have baseball's best pitcher and the Astros (and 28 other teams) do not. It was worth the $324 million gamble.
Sources: Yankees, Gerrit Cole agree to record 9-year, $324M deal
Prized free-agent pitcher Gerrit Cole and the New York Yankees have agreed to a record nine-year, $324 million contract, sources told ESPN's Jeff Passan.
Adam Jones signs on with Orix in Japan league
Adam Jones' deal with Orix is for two years and worth $8 million guaranteed, with a club option for a third year, a source told ESPN's Jeff Passan.