NEW YORK -- Much like the final few years of his truncated career, David Wright's finale was no fairy tale at the plate.

Adoration, appreciation, respect. Those were the tokens he took home.

Wright left to a long standing ovation before a sellout crowd at Citi Field in his farewell game for the New York Mets on Saturday night.

The team captain went 0-for-1 with a walk against the Miami Marlins and was removed after two plate appearances as planned. On defense, he handled a one-hopper to third base with no problem.

Wright, who fouled out to first base his final time up, took his position before the top of the fifth inning. Mets manager Mickey Callaway then came out of the dugout to make a lineup change, and Wright began his slow walk off the field.

As fans chanted his name and cheered for about 3 minutes, 15 seconds, Wright saluted them by touching the bill of his cap and patting his chest repeatedly. He went down the line and hugged all his teammates just in front of the Mets dugout, with Marlins players standing and applauding across the field.

His stellar career cut short by injuries, the 35-year-old Wright completed an arduous comeback by returning to the majors this week for the first time since May 27, 2016. Unable to fully overcome his physical setbacks, he said he expects Saturday to be his last big league game even though his contract runs through 2020.

With watery eyes, Wright took a bow, blew a kiss to the crowd of 43,928 and came out of the dugout for a curtain call before heading up the runway toward the Mets clubhouse, followed by several teammates.

Once he was out of sight, fans chanted "Thank you, David!"

Wright, who was drafted by the Mets and spent his entire career with them, was reinstated from the disabled list Tuesday and finally made it back into a big league game Friday night as a pinch hitter. He grounded out on the only pitch he saw in his first plate appearance in nearly 2½ years, then batted third in a ceremonial start Saturday that was in the works for weeks.

With family and friends on hand, the seven-time All-Star crouched behind home plate to scoop up an honorary first ball tossed by the elder of his two daughters, 2-year-old Olivia, who wore a Lil Wright jersey with his No. 5 on the back.

Highlights of Wright's career played on the ballpark video board just before the first pitch. He bounded out to third base alone, followed by longtime teammate and buddy Jose Reyes, who started alongside Wright at shortstop for the first time since Sept. 28, 2011.

The pair embraced several times on the field and soaked in applause during their 878th start together, most by any two players in team history, according to the Elias Sports Bureau.

Tugging at heartstrings all night, the Mets accompanied a video montage of Wright's finale with the musical theme from "The Natural" a few innings later.

Reyes doubled leading off the first and reached third on Jeff McNeil's sacrifice bunt, setting up an RBI opportunity for Wright. With the Marlins playing their infield in, Wright fouled off a 91 mph fastball and drew a full-count walk from rookie pitcher Trevor Richards.

Wright was immediately erased on a double play. He fouled out on the second pitch he saw leading off the fourth, with first baseman Peter O'Brien making a not-so-easy catch near the retaining wall that turned him into the target of boisterous boos the rest of the game.

Still grinning a bit, a disappointed Wright walked slowly back to the dugout.

Wright's big night was big news in New York City, where Mayor Bill de Blasio in a morning tweet proclaimed it David Wright Day "in honor of #OurCaptain."

David Wright salutes fans at a sold-out Citi Field on Saturday. The crowd cheered for about 3 minutes, 15 seconds when Wright departed the field in his final career start. AP Photo/Bill Kostroun

SNY, the television home of the Mets, programmed Wright highlights, interviews and features that ran all day beginning at 10 a.m. ET.

Even the crosstown rival Yankees took out a full-page ad Friday in the New York Post congratulating Wright on "a distinguished career."

The Citi Field gates opened early, at 4:30 p.m., so fans could watch Wright and the Mets take batting practice. The star of the show knocked a few balls over the fence, waved to the crowd and signed autographs.

The club's career leader in hits, RBIs, runs and several other categories, Wright for years has been the face of the franchise -- and sometimes its most visible spokesman -- for a team that often sorely needed the positive image he always portrayed.

If there's ever been a Mr. Met without the big head, David Wright is it.

"His grind just to get back to this spot has been unbelievable -- and most people wouldn't do it," Callaway said. "He chose to do the right thing every single day. ... We're doing something special for David not because of the numbers he put up, but because of the person he is."

Former teammates Michael Cuddyer and Cliff Floyd, two of Wright's best friends in baseball, came out for the festivities. Plans included a postgame ceremony on the field, with Wright expected to address the crowd prior to the scheduled fireworks.

Over in the opposing dugout was this neat full-circle connection: Marlins catching coach Brian Schneider was behind the plate with the Montreal Expos for Wright's first at-bat July 21, 2004, and recalled tumbling head over heels at the dugout railing to make an acrobatic grab of Wright's foul popup.

Asked if he would instruct Richards to groove a pitch to Wright, Marlins manager Don Mattingly cracked: "That young kid of ours? He may groove one by mistake. He won't try to groove one."