The day started in storybook fashion. A moving tribute to Mariano Rivera was followed by Andy Pettitte taking a no-hitter into the sixth inning of his final regular-season start at Yankee Stadium.
The way it ended might have finished the Yankees' playoff hopes.
After honoring the career saves leader and celebrating Pettitte, New York saw its AL wild-card hopes dim Sunday with a crushing 2-1 loss to the San Francisco Giants.
Pettitte was sure the Yankees would rally.
"It always seems to happen. I really thought it was going to happen today," Pettitte said. "So it's hard to believe that we're sitting here, that we lost another game. This was a big loss, there's no doubt about that."
In danger of missing the playoffs for just the second time in 19 years, the Yankees dropped four back of Cleveland for the second AL wild card with six games left. New York hosts wild-card leading Tampa Bay for three games, then closes at Houston.
The Yankees held a 50-minute pregame ceremony and retired the No. 42 of Rivera, who announced during spring training that this will be his final season. Rivera was last player to wear Jackie Robinson's number, which was retired throughout the major leagues in 1997 on the 50th anniversary of the day the Brooklyn Dodgers second baseman broke baseball's color barrier. For a little over a week, Rivera becomes the first active player to be given a place in Monument Park.
"I appreciate this day, what the organization did, the fans that were here supporting me," Rivera said. "That was good, but at the end it wasn't that great because we lost the game."
Pettitte said Friday he also is leaving, and he started off perfect until giving up a walk with two outs in the fifth.
But Ehire Adrianza tied the score in the sixth with his first career home run. Leaving to standing ovations and a curtain call after Pedro Sandoval's leadoff double in the eighth, Pettitte (10-11) watched Tony Abreu hit a go-ahead double off David Robertson.
"Pablo told me it was a no-hitter, he told me to get a hit," Adrianza said. "It was a special day for me in my life, for Mariano and Pettitte."
The 41-year-old Pettitte will make his final start against his hometown Astros with a chance to finish with a losing record for the first time in his 19-year career.
On a sun-splashed afternoon and before a sellout crowd of 49,197, the Yankees honored Rivera by bringing back several of the players who helped them win five World Series titles from 1996-09 — including Jorge Posada, Bernie Williams, David Cone, Paul O'Neill and Tino Martinez.
Pettitte initially retired after the 2010 season, sat out one year and then returned.
"I'll miss (them) a lot. They're brothers to me," Jeter said. "We've been through a lot, quite a bit together."
For much of the afternoon, Pettitte appeared on track for a vintage performance. The 41-year-old left-hander, a 255-game winner, was backed by Mark Reynolds' third-inning homer and didn't allow a baserunner until Sandoval's fifth-inning walk.
When Sandoval doubled to left in the eighth for the Giants' second hit, Pettitte slammed his glove into his thigh in frustration when he saw manager Joe Girardi bounce out of the dugout.
He left to a sustained ovation, waving his cap to all parts of the stadium, and came out for another wave after a boisterous chant of "An-dy Pett-itte!" Jeter, the injured captain, was there to embrace him in the dugout.
"It was great. It was amazing," Pettitte said. "You obviously start hugging the guys. You know Jete standing there makes it difficult. ... Then of course my head is right there just going, 'I just lost this game for us if we are unable to get this guy.'"
While Rivera has saved 72 of Pettitte's wins, the most for any tandem in major league history, Girardi called on the 13-time All-Star after Abreu's double.
Adrianza broke a bat striking out, and Angel Pagan hit a sinking liner to center field that Curtis Granderson snared with a tumbling catch.
Alex Rodriguez led off the bottom half with a single, and Robinson Cano doubled for his third hit. Alfonso Soriano hit a sharp grounder to third base, and Nick Noonan threw home to nail pinch-runner Zoilo Almonte. Eduardo Nunez then singled to left field, but Bronx-raised Juan Perez threw Cano out trying to score.
"We're still alive, but this one really hurt," manager Joe Girardi said. "It's tough."
Javier Lopez (4-2) relieved Yusmeiro Petit with two on and one out in the seventh and struck out two. Petit gave up six hits.