ST. PETERSBURG, Fla. -- Joe Maddon planned to sleep well, regardless of whether the Tampa Bay Rays got the help they needed to keep their slim playoff hopes alive.
The Rays did their part by beating the Baltimore Orioles 5-3 Monday night, and their manager insisted he wouldn't do any scoreboard watching before heading to bed.
"I'll find out tomorrow morning," said Maddon, who then was asked if he expected to sleep well. "Absolutely. Like a baby."
It will be a rude awakening for the Rays, winners of 11 of their last 12 games, as the A's held off the Rangers to lock up the final AL playoff bid.
The Rays' stretch kept them in contention for the AL's second wild-card.
They began the night trailing Oakland by three games and needed to sweep the Orioles and hope the A's dropped three straight to Texas to remain alive.
Baltimore already had been assured of being in the playoffs for the first time in 15 years, but still has its sights on outlasting the Yankees for the AL East title. The Orioles fell a game out of first place behind New York when the Yankees beat Boston.
"We've played 12 playoff games and we've won 11 of them," said Maddon, whose team has outscored opponents 80-31 during the surge. "But we do need help, there's no question about that. Again, regardless, I just love the way our guys are going about their business."
Fernando Rodney gave up singles to Adam Jones and Wieters to put the potential tying runs on base. The Rays closer struck out Jim Thome and Mark Reynolds before getting Endy Chavez to hit a grounder back to mound to end the game. It was Rodney's 47th save in 49 opportunities.
"We didn't take care of our business. We lost," Jones said. "When it comes to the Yankees, we can't control them. We can't control if they win or lose."
The Orioles arrived in St. Petersburg for the season-ending series later than expected Sunday night after their plane had to divert to Jacksonville because of a fire in the galley.
They officially clinched at least a wild-card berth when the Los Angeles Angels lost the second game of a doubleheader to the Texas Rangers late Sunday, and manager Buck Showalter, coaches and players celebrated by having a short meeting and toasting the accomplishment at the team hotel.
"We've clinched a spot, but we've got an opportunity to win the East. That's big," Jones said before the game. "You get to put up a banner at Camden Yards. It speaks something about the team. It means you finished ahead of the Yankees and Boston and Tampa Bay, everybody."
Cobb retired 10 in a row before Hardy singled between shortstop and third base for Baltimore's first hit. The 24-year-old right-hander walked Thome with one out in the fifth and Nate McLouth with one out in the sixth. McLouth stole second, but was stranded when Hardy grounded to shortstop and Davis took a third called strike.
Wieters' career-high 23rd homer home run cleared the short wall in the left-field corner known as 162 Landing, the spot where Evan Longoria hit the 12th-inning homer that sent the Rays to the playoffs on the final night of last season.
"It is frustrating when it's out of your hands, but we put ourselves in that position. We could have held our own destiny," Cobb said. "Even coming into the last road trip we had that chance, but we let a couple slip that we wish we could have had back, but we're doing all we can now with what we have."
While Maddon had hoped for another dramatic finish, the manager said he wouldn't fret if the Rays fell short of earning their fourth berth in five seasons.
"Honestly, it just is what it is. We had opportunities early in the year to win more games, and we did not. But so did everybody else," Maddon said.
Chen, who's 0-4 over seven starts since last winning on Aug. 19, hasn't won since Aug. 19, allowed four runs -- three of them unearned -- and six hits in 6 2/3 innings. ... Zobrist joined B.J. Upton as the only Rays with at least 20 homers. He has driven in 21 runs in 28 games since the start of September. ... Baltimore RHP Jason Hammel (sore right knee) threw five innings in the Florida instructional league and could be available to pitch for the Orioles late this week. ... Orioles RF Nick Markakis (broken left thumb) will have surgically-inserted pins removed in a week.
Information from The Associated Press was used in this report.