"I am definitely going to win that game," Smith said.
Smith reached with two outs when Tanner Scott (1-1) dropped a short toss while covering first base for an error. Smith stole second, and Lopes followed with a grounder to Ruiz.
Ruiz took a bit too long to fire to first base, and Lopes beat the throw.
Smith, meanwhile, whisked around third and slid home safely ahead of the relay with an unearned run.
"An opportunity like that, I have no plans on stopping," Smith said. "You're out there that long, you might as well come out on top."
Orioles manager Brandon Hyde didn't fault Ruiz, noting that the flaw in the inning came earlier.
"It was kind of a tough play for Rio because it was a chopper that he either has to come get or play back, and if he plays back he really has to get rid of it," Hyde said. "It was bang-bang at first base, safe, and Mallex continued. Tough play, but the runner shouldn't have been on first base in the first place."
After Crawford hit a three-run homer with two outs in the eighth inning off struggling Mychal Givens to put the Mariners up 6-4, the Orioles pulled even in the bottom half when Austin Hays went deep against Sam Tuivailala following a leadoff walk.
Givens has allowed seven runs over 3 2/3 innings in his last four appearances.
Baltimore starter Asher Wojciechowski had trouble with rookies Long and Kyle Lewis, who had two hits apiece against the right-hander and helped prompt his exit during a two-run fifth inning that enabled the Mariners to pull into a 3-3 tie.
The Orioles regained the lead in the bottom half with an RBI single by Hanser Alberto, but they failed to add to the advantage after loading the bases with no outs.
Making his sixth major league start, Seattle lefty Justus Sheffield gave up four runs and six hits. He remains in search of his first big league win.
Seattle reliever Austin Adams twisted his left knee trying to make a play at first base in the seventh inning and had to be helped off the field. Manager Scott Servais said the knee appeared hyperextended, and Adams will probably get an MRI on Sunday.
QUITE A CROWD
A blanket giveaway for the final Saturday night home game drew a crowd of 22,556, the largest at Camden Yards since a July 16 matchup with the neighboring Washington Nationals brought in 23,362 fans.
Smith scored the winning run but went 0 for 6, ending his streak of reaching base against the Orioles at 19 games. He had a hit in 17 of those games.
Not that it mattered.
"We knew he was going to get on base sometime tonight," Servais said. "That's how he typically wins games. He finds a way to get on base, busted himself to get down the line and then comes around on an infield hit."
Mariners: OF Domingo Santana returned to the lineup as the DH for his first start since Aug. 18. He came off the injured list Tuesday after missing 24 games with right elbow inflammation.
Orioles: The season isn't necessarily over for Mason Williams, who hasn't played since banging into the outfield wall on Tuesday. "He's day to day and he's sore," Hyde said. Hyde believes Williams could be ready to return next week, but added, "I don't know for sure."
Mariners: LHP Marco Gonzales (16-11, 4.14 ERA) makes his 33rd start of the season Sunday in the series finale. In his last start, he blanked Pittsburgh over seven innings.
Orioles: Rookie LHP John Means (10-11, 3.55) helps the Orioles wrap up the home portion of their schedule. He's 7-5 with a 2.86 ERA at Camden Yards.
More AP MLB coverage: https://apnews.com/MLB and https://twitter.com/AP-Sports
Athletes join in on the 'Baby Yoda' meme frenzy
To iconic meme status Baby Yoda ascended has. The collective Internet has been going wild over the lovable Disney+ character and the sports world is no exception.
Michael Pineda, Twins reach agreement on $20M, 2-year deal
Right-hander Michael Pineda, whose 60-game suspension for using a banned substance will carry over into the 2020 season, is returning to the Twins. The sides have agreed to a two-year, $20 million contract, sources tell ESPN.
Sources: Yankees make signing righty Gerrit Cole top offseason priority
Signing Gerrit Cole is the top priority for the Yankees this offseason, and they have approval to offer him a record-setting deal, sources tell ESPN.
South Korean players Kwang-Hyun Kim and Jae-Hwan Kim made available to MLB teams
Kwang-Hyun Kim and Jae-Hwan Kim, two 31-year-old players from the South Korean League, have been posted by their clubs and made available to major league teams.
Mets acquire OF Jake Marisnick in trade with Astros
Jake Marisnick, an outfield defensive replacement who hit .233 with 10 home runs and 34 RBIs for the Astros last season, has been traded to the Mets for prospects Blake Taylor and Kenedy Corona.
Brewers fill need at catcher, acquire Omar Narvaez from Mariners
The Brewers filled their need at catcher Thursday by trading for Omar Narvaez with the Mariners on Thursday for a prospect and a competitive balance draft pick.