BALTIMORE -- Mild-mannered Manny Machado felt he let his team down by losing his temper. Instead, the second-year third baseman's first career ejection might have been the spark the Baltimore Orioles needed.
Baltimore used six hits and two errors to erase a 3-2 deficit in the fifth, salvaging a split in the four-game series. The inning also saw Machado get tossed by home-plate umpire Will Little and Adam Jones called out on the go-ahead grounder for sliding wide of second base to break up a potential double play that wound up plating the decisive run.
Machado wasn't around to see the completion of the rally, something he said he regrets.
"I swung at a bad pitch (and) I thought I fouled it off," Machado said. "Obviously, I looked back on the replay, and I didn't. Something that I said wrong to the umpire, and I have to pay the consequences for it. Let my team down -- obviously, something that won't happen again."
Orioles manager Buck Showalter said Machado would learn from his youthful transgression.
"I've seen 10-, 15-year veterans get frustrated with some calls," Showalter said. "It's all lessons learned. He's 20 years old."
"When you play teams like that, when you make a mistake or two, they can make you pay for it," Cleveland manager Terry Francona said. "And that's what happened."
Miguel Gonzalez (6-3) won for the fourth time in five decisions. He allowed three runs on nine hits over 6 2/3 innings, walking none and matching a career high with nine strikeouts.
Ryan Flaherty drove in two runs for Baltimore.
Chisenhall homered to right with two outs in the second, a 430-foot shot that landed on Eutaw Street and gave the Indians a 1-0 lead.
Baltimore went ahead 2-1 on Flaherty's two-run single in the bottom of the inning. Davis drew a leadoff walk, Wieters singled and Hardy moved the runners up with a sacrifice bunt before Flaherty's two-out single up the middle.
The Indians tied it at 2 on Chisenhall's double in the fourth. Michael Brantley doubled to lead off the inning and Chisenhall sent a ball off the right-field wall to plate him.
Aviles led off the fifth with a line-drive homer to left, his fifth of the season.
Cleveland's lead, however, was short-lived.
"It happened so fast, same thing last night," said Chisenhall. "It's the way the AL East plays. Runs just show up on the board."
The Orioles went ahead 7-3 with the five-run fifth, but lost Machado, who was ejected by Little for arguing a third-strike call, ending a streak of 1,206 innings played, the longest active streak in the majors.
"When I heard about it, the streak I had going, obviously it's devastating," Machado said. "But I just caused that on myself. That's something that ... that I just have to pay the consequences for, and I did."
Singles by Flaherty and Nate McLouth put runners at the corners for Machado, who struck out swinging and was tossed when he argued that he foul-tipped the ball. Markakis followed with an RBI single to center for a 3-3 tie and Jones' broken-bat single to right loaded the bases.
Davis then beat shortstop Aviles' relay to first after Jones was called out for abandoning the baseline, allowing McLouth to score for a 4-3 lead. Aviles was charged with an error for coming off the bag early on a throw from second baseman Jason Kipnis that would have forced Jones.
Wieters then cracked a run-scoring double into the right-field corner, with Davis scoring and Wieters reaching third when Drew Stubbs bobbled the ball. Hardy's infield single, a tapper to the left of the mound, made it 7-3 and chased Corey Kluber.
Kluber (6-5) yielded seven runs -- six earned -- in 4 2/3 innings, ending a steak of three straight wins. He allowed 11 hits, walked one and struck out four.
"I think there were just some crucial situations there in that fifth inning where I didn't execute pitches, and they're obviously a very good offensive team and they put good swings on them," Kluber said.
The game was delayed by rain for 78 minutes in the bottom of the seventh inning. ... With his first-inning single, Kipnis has reached base in 29 consecutive games. ... The Orioles re-signed RHP Freddy Garcia to a minor league deal and he will report to Triple-A Norfolk. Garcia was optioned to Norfolk on Monday, and because he is a veteran had the option of declining the assignment and becoming a free agent. ... Before the game, the Indians activated RHP Chris Perez (right shoulder soreness) from the 15-day disabled list and optioned LHP T.J. House to Triple-A Columbus. They also traded IF John McDonald, who was designated for assignment Wednesday, to the Phillies for cash or a player to be named. ... Francona said RHP Trevor Bauer will start the first game of Friday's doubleheader and RHP Carlos Carrasco would start the nightcap. Bauer will be recalled from Triple-A and Carrasco will be added as the team's 26th man. ... Brian Roberts (right hamstring) will return from the DL this weekend and become the Orioles' starting second baseman, Showalter said. ... RHP Dylan Bundy, the Orioles' prized pitching prospect, underwent Tommy John ligament replacement surgery Thursday. The procedure was performed by Dr. James Andrews in Gulf Breeze, Fla. ... Showalter said rookie LHP T.J. McFarland would start Friday's series opener against the Yankees.