SAN FRANCISCO (AP) — Chris Carpenter walked off the mound, and the fans cheered. Giants fans, that is.

The orange towel-twirling crowd at AT&T Park saw San Francisco send the St. Louis star to an early exit in a 6-1 win Sunday night that forced the NL championship series to Game 7.

Carpenter allowed five runs in four shaky innings — identical to his loss earlier in this matchup. Not what the Cardinals had come to expect from him in the postseason, a resume that includes a Game 7 win in last year's World Series.

And so the wild-card Cardinals were pushed to the brink of elimination once more. They're plenty familiar with that situation.

Carpenter and St. Louis won the decisive Game 5 of the division series at Philadelphia last season, then the Cardinals overcame a 3-2 deficit in the World Series to beat Texas. They won the winner-take-all wild-card game at Atlanta this month and rallied in the ninth at Washington in Game 5 of the division series.

Now they must do it again.

Giants ace Matt Cain will take the mound for Game 7 in San Francisco on Monday night opposite Kyle Lohse in a rematch of a rain-delayed Game 3, which the Cardinals won in St. Louis.

There's also a rare rainy forecast for San Francisco for the clincher.

If the Cardinals hope to reach the World Series again, they'll need to find some stronger pitching and defense — and fast.

Not to mention a little offense, too.

Allen Craig's two-out single in the sixth drove home Carlos Beltran for the Cardinals' only run against Ryan Vogelsong, who struck out a career-high nine in seven innings of four-hit ball. St. Louis had gone 15 innings without scoring after lefty Barry Zito and Co. held it scoreless in Game 5.

Carpenter allowed six hits and three unearned runs, the same as he did in Game 2 at San Francisco, except he had only one strikeout in that outing.

The 10 unearned runs allowed by the Cardinals over the series is the most in NLCS history, according to STATS LLC. Two teams have allowed nine.

Talk about St. Louis blues.

The only other time the Cardinals opened a 3-1 lead in the NLCS came in 1996, when they lost to the Atlanta Braves in seven games. San Francisco, which never faced an elimination game in winning the 2010 World Series title, is 5-0 when pushed to the edge this postseason.