ST. LOUIS -- Nationals manager Dave Martinez was awake most of the night after Washington lost on a walk-off grand slam Sunday.
He likely won't be catching up on that missed sleep Monday.
Paul DeJong handed the Nationals their second straight walk-off loss, capping a back-and-forth finish with a game-ending solo homer in the ninth inning of the St. Cardinals' 7-6 victory Monday night.
"I don't sleep most nights, I like to watch replays of the game," Martinez said. "And last night was no different."
Washington's bullpen has blown saves in three of its past four games. All-Star closer Sean Doolittle has been on the disabled list since early July, and top setup man Kelvin Herrera went to the DL with right rotator cuff impingement last week.
"I don't know what else to do," Martinez said of the bullpen.
The usually stoic DeJong wasn't quite sure how to celebrate his first career walk-off homer. He started calm, keeping his head down as he rounded the bases. After coming around third, though, he whipped his helmet into the grass, threw his arms down and bellowed out a roar.
"My first walkoff, it felt so good I had to do something a little different," DeJong said.
The Cardinals recorded their 10th walkoff of the season and DeJong became the sixth different player to end a game in grand fashion.
"They're all special, all emotional," St. Louis interim manager Mike Shildt said. "These guys have the mentality, `Do your job, keep the line moving.' They have a lot of trust with each other."
The Cardinals have won six in a row and moved to nine games over .500 for the first time this season.
DeJong's 380-foot drive ended a wild final two innings.
The Nationals tied it at 6 in the top of the ninth on RBI singles by Daniel Murphy and Matt Wieters off closer Bud Norris. Dakota Hudson (3-0) relieved Norris and stranded two baserunners by retiring Wilmer Difo and Adam Eaton.
Gyorko sparked St. Louis' big eighth inning with his homer off Justin Miller. Kolten Wong and Patrick Wisdom then singled to set up Carpenter's 33rd homer. Carpenter has homered in seven of his past 10 games. He extended his major-league leading on-base streak to 31 games with a first-inning bunt single. He has 17 homers during that string.
Harper won a 10-pitch battle with starter Miles Mikolas by drilling his 29th homer leading off the fourth to lead 2-1.
Ryan Zimmerman added a run-scoring double in the second for the Nationals.
Jose Martinez had four hits for the Cardinals.
Mikolas gave up four runs on four hits over seven innings. He struck out four and walked one.
Tommy Milone started for Washington and gave up two runs on 10 hits over 4 1/3 innings.
When Carlos Martinez returns to the Cardinals this season, it will be in the bullpen. Martinez has been working back from a shoulder injury, and the team is worried it won't have time to stretch out its ace for a potential postseason push.
Martinez threw 30 pitches in a side session Monday. He will throw one more side session in the next few days, and could return to the active roster soon.
"I think he's probably looking like a (bullpen) weapon for the rest of the year," Shildt said.
Nationals: Madson is dealing with back issues, but Martinez says Madson plans to pitch through the difficulties. "He's a big part of our bullpen," Martinez said. Madson did not pitch Monday. ... INF Anthony Rendon returned to the lineup after missing two games due to a left wrist contusion.
Cardinals: RHP Adam Wainwright tossed a scoreless inning for Class A Palm Beach. The three-time All-Star was placed on the disabled list May 14 with right elbow inflammation and is beginning a 30-day rehab assignment. He struck out two and allowed one hit in the nine-pitch outing.
LHP Gio Gonzalez (7-8, 3.39) will face RHP John Gant (4-4, 3.89) in the second of the four-game series Tuesday. Gonzalez has allowed just two earned runs over 14 innings in two starts this season against St. Louis. Gant made his major league debut against Washington on April 6, 2016 as a member of the Atlanta Braves.
More AP baseball: https://apnews.com/tag/MLBbaseball and https://twitter.com/AP-Sports
The Phillies get the Braves in Philadelphia for three games to end the regular season, but it may not matter after the teams' four-game series at SunTrust Park starting Thursday night.
Hurricane Maria was a death knell for a 70-year-old stadium in Caguas that saw more than a dozen MLB Hall of Famers play. Red Sox skipper Alex Cora on the demolition: 'The press box was my crib, my playpen.'
The Washington Nationals begin their final homestand of the season Thursday night when they host the New York Mets.
A congressional subcommittee will review the landscape in the aftermath of a Supreme Court decision that opened a path for states to offer legal sports betting.
The 24-year-old righty is pitching so well after Tommy John surgery, L.A. no longer needs to treat him with kid gloves.
Even when your playoff odds drop to absolute zero, there's still a chance to do something absolutely special on the diamond.