Ron Chenoy-USA TODAY Sports

Thairo Estrada socked a three-run homer in the 10th inning, his third hit of the night, and the San Francisco Giants rallied to beat the Colorado Rockies 10-7 on Monday in Denver.

Mike Yastrzemski homered among his two hits, Wilmer Flores had three hits and David Villar had two hits for the Giants, who had lost four of their previous five games. Camilo Doval (6-6) pitched a scoreless ninth inning, and Scott Alexander earned his second save with a 1-2-3 10th.

Michael Toglia, Charlie Blackmon and C.J. Cron had three hits each and Ryan McMahon and Alan Trejo had two hits apiece for the Rockies.

The Rockies led by two entering the ninth inning, but San Francisco rallied against Justin Lawrence. Estrada doubled, went to third on a groundout and scored on Flores' single. Villar hit a two-out double to drive in pinch runner Austin Slater, tying the game 7-7.

Gavin Hollowell (0-1), in his major league debut, retired the first two batters in the 10th before walking Lamonte Wade Jr. Estrada followed with his 14th homer of the season.

The Giants (70-77) took a 1-0 lead in the first on an RBI single by Flores, but Colorado tied it in its half of the inning on an RBI single by Blackmon. The Rockies went ahead 3-1 in the second on Toglia's RBI triple and Trejo's single.

Colorado (64-83) added another run in the third inning when Connor Joe scored on Toglia's second triple of the night. Yastrzemski's 13th homer of the season made it 4-2 in the fourth.

The Rockies padded their lead in the bottom of the fourth against Giants starter Jakob Junis on Yonathan Daza's RBI double and Cron's run-scoring single.

Junis allowed six runs -- five earned -- on 12 hits in 4 1/3 innings. He walked one and struck out two.

San Francisco rallied in the fifth. Wade was hit by a pitch leading off, went to third on Estrada's single and scored on Joc Pederson's sacrifice fly.

Brandon Crawford singled home another run. After Villar singled, Chad Smith relieved Chad Kuhl and allowed an RBI hit to Yastrzemski to cut Colorado's lead to 6-5.

Kuhl allowed five runs on eight hits in 4 2/3 innings. He walked one and fanned six.

Colorado got an insurance run in the sixth when Joe's double drove in Daza from third, but the Giants pulled even in the ninth.

More must-reads:

TODAY'S BEST
Timberwolves chew up Nuggets to force Game 7
Rangers secure spot in conference finals after stunning third-period comeback over Hurricanes
Xander Schauffele makes history in first round of PGA Championship
Yankees' Hal Steinbrenner shares massive Juan Soto contract update
Steelers' Cameron Heyward addresses contract holdout
Knicks star ruled out for potential closeout game
Dodgers starter undergoes season-ending UCL surgery
Clemson’s Dabo Swinney gives smug response about not using transfer portal
Caitlin Clark's debut was most-watched WNBA game in more than 20 years
Watch: Chris Kreider's natural third-period hat trick shatters Hurricanes' comeback hopes
Veteran NFL safety will either play for this team or retire in 2024
Former Red Wings head coach linked to open NHL job
How Patriots' Drake Maye has already impressed Jacoby Brissett
LeBron James, Giannis Antetokounmpo, Stephen Curry among Forbes' highest-paid athletes for 2024
Steve Cohen addresses if Mets could again be trade-deadline sellers
Tiger Woods ruins strong first round with sloppy finish at PGA Championship
NFL responds to speculation about Chiefs schedule and Taylor Swift
Despite hopes for change, NASCAR championship weekend will return to Phoenix in 2025
Chiefs will achieve something not done since 1927 with 2024 schedule
Yankees' Aaron Judge comments on resurgence after bad slump

Want more MLB news?

Join the hundreds of thousands of fans who start their day with Yardbarker's Morning Bark, the best newsletter in sports.