The final out was made and the wait began.

The Orioles defeated the Blue Jays 4-2 to complete the doubleheader sweep before an announced crowd of 19,824 at Camden Yards, which left the final home attendance at 1,829,252. The elimination number held at one. But the White Sox hadn’t finished their game in Kansas City.

Players filed into the clubhouse for the usual celebration because they won. Be where your feet are at all times. But that mantra has its flaws, like when another team controls your fate.

Trey Gibson tossed 6 2/3 scoreless innings with only three hits allowed and seven strikeouts. The Blue Jays gave the ball to CJ Van Eyk, a second-round draft pick in 2020 out of Florida State making his first major league start after 6 2/3 relief innings this season.

The Orioles scored three times in the first inning and Christian Encarnacion-Strand homered in the fourth. They weren’t letting him get comfortable.

Gibson hadn’t pitched for the Orioles since June 30, when he faced the White Sox and allowed eight runs with six walks in 2 2/3 innings. His ERA was 7.36. But he retired 10 in a row tonight. He was in total control.

As he warmed for the seventh inning, the Royals had already built a 4-0 lead over the White Sox in the first.

The Blue Jays were eliminated in Game 1 and sat Vladimir Guerrero Jr. and George Springer in the nightcap. Van Eyk was making his fifth major league appearance.

Eyk struck out two of his first three Orioles, hitting Pete Alonso in between. Coby Mayo doubled to left field at 110.9 mph and both runners scored on Encarnacion-Strand’s nine-pitch double. Colton Cowser followed with a fly ball that fell in left field for a 3-0 lead.

The rookie’s pitch count was 33 after Jeremiah Jackson grounded out.

The out-of-town scoreboard already was set up to be featured attraction.

Encarnacion-Strand’s 11th homer came on a first-pitch cutter that he pulled over the left field wall. Meanwhile, first pitch at Kauffman Stadium was minutes away.

Gibson, ranked by MLB Pipeline as the organization’s No. 17 prospect, flashed a fastball clocked at 98.2 mph in the second, and he followed a walk by striking out Charles McAdoo at 97.3.

Myles Straw led off the third with an infield hit and Ernie Clement grounded into a double play. Nathan Lukes reached on a hard one-hopper that Gunnar Henderson couldn’t backhand, and Josh Smith flied out.

Alejandro Kirk began the seventh with a single and the Orioles turned another double play. Sean Keys grounded out but was awarded first base on a shift violation error on Jackson, whose heels were on the outfield grass. The play was reviewed while both teams were in the dugout.

Gibson came back out, walked Davis Schneider and left to a standing ovation. Yennier Cano loaded the bases with a walk and struck out Straw.

Josh Walker stranded a runner in the eighth while the White Sox scored four times in the third to tie their game. Félix Bautista made his second appearance and surrendered Davis Schneider’s two-run homer with one out in the ninth – a 351-footer down the left field line.

The Orioles will arrive in New York later tonight with a 78-81 record and a shot at .500. They moved into fourth place in the American League East. Their goals were set much higher before the season.

They wanted to return to the playoffs. The odds say that, too, will have to wait. But they’re being stubborn about it.