BALTIMORE (AP) - Vladimir Guerrero Jr. hit his major-league leading 23rd homer and later capped Toronto's ninth-inning rally with a go-ahead, two-run double, and the Blue Jays ended a five-game skid with a 10-7 victory Saturday over the Baltimore Orioles.

Marcus Semien homered twice for Toronto, which scored six runs in the ninth off relievers Paul Fry and Tyler Wells to stun the Orioles.

Ryan Mountcastle recorded his first career three-homer game and Cedric Mullins had his second consecutive multihomer game for Baltimore, which hit six homers in a game for the first time since doing so against Houston on Aug. 18, 2016.

Toronto starter Alek Manoah was ejected for hitting Maikel Franco after surrendering back-to-back blasts in the fourth inning and instigating a benches-clearing incident in which no punches were thrown.

Staked to a 7-4 lead to start the ninth, Fry (0-2) allowed two walks and two hits while recording two outs. Wells entered with the bases loaded and a 7-5 lead, but Bo Bichette blooped a two-run single to right to tie it. Guerrero then laced a double into the left-center gap to give the Blue Jays a 9-7 lead, and he scored on Randal Grichuk's ensuing double.

Jordan Romano (4-1) pitched two scoreless innings for Toronto.

Manoah gave up a two-run shot to Mountcastle and a solo homer to DJ Stewart in the fourth to give Baltimore a 5-2 lead. He then plunked Franco on the first pitch, prompting the benches and bullpens to empty. Once the situation cooled down, the umpires conferred and ejected Manoah.

Manoah allowed five runs in 3 1/3 innings, striking out six.

Baltimore starter Dean Kremer yielded solo shots to Semien and Guerrero in the first but no other damage over six innings, striking out six.

Mountcastle, who also had solo blasts in the second and sixth, is the first Oriole with three homers in a game since Pedro Severino did it at Texas on June 4, 2019. He became the second Orioles rookie with a three-homer game - Nick Markakis was the first, doing so Aug. 22, 2006, against Minnesota.

Mullins had solo shots in the third and the seventh a day after going deep twice in the series opener against the Blue Jays.

TRAINER'S ROOM

Blue Jays: OF Lourdes Gurriel Jr. pinch hit in the seventh inning and remained in the game to play left a day after exiting for a pinch hitter in the ninth inning with a back injury.

Orioles: Manager Brandon Hyde said he anticipates LHP John Means (shoulder strain) returning “right around” the All-Star break. Means, who left his June 5 start in the first inning and landed on the injured list the next day, has started to play catch.

DEAL

Toronto acquired RHP Jacob Barnes from the New York Mets for minor league RHP Troy Miller. Barnes was 1-1 with a 6.27 ERA and two saves in 19 appearances for New York before he was designated for assignment Monday.

UP NEXT

Blue Jays: LHP Hyun Jin Ryu (5-4, 3.43 ERA) is 1-0 with a 3.00 ERA in three career starts against Baltimore.

Orioles: RHP Matt Harvey (3-8, 7.76) will attempt to end an eight-start winless streak as the three-game series concludes. Harvey is 0-7 with a 12.00 ERA since May 7.