Balls can fly when the roof of the Rogers Centre is closed, so the Orioles still had plenty of time Wednesday after they fell behind by five runs in the second inning against the Toronto Blue Jays.

And designated hitter Nelson Cruz, who was signed by the Orioles early in spring training, powered the club to a 10-8 comeback win over the Toronto Blue Jays with his 11th career multihomer game, including a go-ahead grand slam that capped a six-run fifth inning.

“It wasn't pretty, but we got it done,” Cruz said. “We were facing a really tough lineup on the other side, too, so we [had] to get as many across as we can, and that's what we did tonight.”

After hitting four home runs in their previous 10 games, the Orioles hit a season-high four homers Wednesday as the teams combined for seven in front of an announced crowd of 15,202.

Cruz, who signed a one-year, $8 million contract in February after failing to get the four-year deal he wanted in the offseason, has been the Orioles' top offensive weapon. And his seventh career grand slam, a blast to left field off Blue Jays right-hander Todd Redmond on a 2-1 high fastball, was his biggest blow of the season.

Cruz also hit a solo homer in the third inning against Blue Jays starter Dustin McGowan. With five RBIs in the game, he now has 14 RBIs in his past six games and has driven in runs in each of his previous six games.

“It's been good,” Cruz said. “They welcomed me really well and embraced me, which makes it so much easier for me. I feel like I've been here forever. So, it's nice to feel that way.”

The Orioles have seen their own leads disappear in two games this week — and almost in a third — but this time they rallied from an early deficit.

“Assume the position and go along for the ride,” Orioles manager Buck Showalter said. “This is not a place to panic. … I enjoyed watching it. I'd enjoy it a lot more if I knew how it was going to end before watching it.”

Clinging to a two-run lead in the ninth inning, Orioles closer Tommy Hunter loaded the bases with one out before inducing a game-ending double play ball from Jonathan Diaz to convert his sixth save in seven opportunities this season.

Following Cruz's grand slam, the Orioles (10-10) added two more runs in the fifth on an RBI double off the left-field fence by Matt Wieters and a deep sacrifice fly by J.J. Hardy that went to the warning track in left field.