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
Stephen A.: MLB should take away Astros' World Series trophy
Stephen A. Smith emphatically calls for the MLB to confiscate the Astros' World Series trophy and take the players' championship rings for their sign-stealing scandal.
Source: MLB ineligible list ends at death for banned players
Major League Baseball has no hold on banned players after they die, a source told ESPN, which could be significant when it comes to Hall of Fame consideration for "Shoeless" Joe Jackson's and others who were banned for life and have since died.
How the internet helped crack the Astros' sign-stealing case
From video breakdowns to screengrabs to players weighing in, social media shaped MLB's first uniquely 21st century scandal.
Buzzers, burner accounts and conspiracies: Inside baseball's day of epic chaos
Three days of sign-stealing scandal buildup erupted on social media Thursday, leading to a day of conspiracies and confusion -- and MLB without control of its sport.
Using technology to steal signs in MLB
Eduardo Perez gives an in-depth breakdown of how technology is used to steal signs and then relay information to the batter during a game.
Former MLB player attacks catcher with bat
Alex Romero sparks a bench-clearing brawl by attacking a catcher with his bat in Venezuela.