Cabrera's solo home run with one out in the 10th lifted the Phillies to a 2-1 victory over the Chicago Cubs on Friday night in a game played through steady rain.
Cabrera connected off Steve Cishek (4-2), driving an opposite-field shot to left-center to help the Phillies pull within two games of Atlanta in the NL East. The Braves lost 3-2 to Pittsburgh.
"That's why we traded for him," Phillies manager Gabe Kapler said of Cabrera, who came from the New York Mets on July 31. "Big moment. Absolutely demolished the ball."
Cabrera got mobbed by teammates and showered with bubble gum and a sports drink after circling the bases following his fifth career walk-off homer and first since hitting one off teammate Edubray Ramos on Sept. 22, 2016.
"It feels awesome to help the team win," Cabrera said. "This game is not easy."
Javier Baez hit his 29th homer for the NL Central-leading Cubs.
Pat Neshek (2-1) earned the win with a scoreless inning.
Baez hit a liner out to left off Nick Pivetta for his NL-leading 98th RBI to give the Cubs a 1-0 lead in the fifth.
Phillies reliever Adam Morgan escaped a jam in the seventh when Baez hit a hard liner to right with two runners on, but Phillies newcomer Jose Bautista reached out to make the catch and doubled Tommy La Stella off second to end the inning.
Cubs: Quintana gave up one run and three hits, striking out seven in six innings. He has allowed just 13 hits over his last three starts after posting a 7.52 ERA over his previous four.
Phillies: Pivetta allowed one run and five hits, striking out six in five innings.
Quintana had his first two-hit game after entering with four hits in 91 career at-bats.
La Stella led off the seventh with a single, setting the franchise record for pinch-hits in a season with 21.
Hector Neris, who began the season as Philadelphia's closer and was demoted to Triple-A after pitching poorly, has 20 strikeouts and hasn't allowed a run in nine innings since being recalled a few weeks ago.
Cubs lefty Cole Hamels received a standing ovation following a video tribute in the middle of the fourth inning. Hamels was the MVP of the 2008 World Series and NLCS with the Phillies. He was traded to Texas in 2015. Hamels would've pitched on Sunday but was pushed back because Joe Maddon is going with a six-man rotation.
"I thought it was good to let him come back and enjoy his three days," Maddon said. "Knowing him, he's competitive and he probably wanted to pitch but I didn't ask him."
CUBS: Closer Brandon Morrow (right biceps inflammation) threw from 120 feet. ... OF Jason Heyward wasn't in the lineup after injuring his right hamstring Thursday night. ... 3B Kris Bryant (shoulder) and LHP Brian Duensing (shoulder) are expected to rejoin the team after the rosters expand on Saturday.
For more AP baseball coverage: https://apnews.com/tag/MLBbaseball and https://twitter.com/AP-Sports
Red Sox owner John Henry says spending more tends to helps teams win
Boston Red Sox owner John Henry said Monday that, while there is not a perfect correlation between a bigger payroll and winning, "spending more money helps."
Bochy: 'It's been an unbelievable ride'
Giants manager Bruce Bochy announces his upcoming retirement and explains how much he has cherished his time in San Francisco.
Mike Moustakas' return has Brewers teammates excited
The Milwaukee Brewers were excited to know Mike Moustakas likely is sticking around for 2019.
Tony Clark: Some teams make little effort to justify ticket costs
Players' union head Tony Clark criticized baseball commissioner Rob Manfred for blaming players' demands for the slow free agent market and said an increasing number of teams make little effort to justify the price of a ticket.
Rockies moving All-Star Charlie Blackmon to right field
It may not seem right, but Charlie Blackmon will be in right field for Colorado this season after playing center field since 2015.
Angels owner Arte Moreno: New Mike Trout deal has been subject of internal talks
Mike Trout isn't eligible for free agency until after the 2020 season, but Angels owner Arte Moreno says a new deal for the franchise player has already been discussed internally.