BOSTON — Avísail García homered and added the go-ahead, two-run double in the sixth inning to rescue Manager Kevin Cash from an untimely pitching change, and the Tampa Bay Rays held back the charging Red Sox by beating Boston 6-5 on Tuesday night.

Travis d’Arnaud and García homered to give the Rays a 4-3 lead in the fifth and help chase David Price. But Cash came out to get Charlie Morton with one on and two outs in the bottom half; the AL ERA leader, who had only thrown 85 pitches, tried to talk his manager out of it, with no luck.

Andrew Benintendi hit the next pitch from reliever Adam Kolarek over the Green Monster to give Boston the lead. But García made it 6-5 with a wall-scraping double in the sixth, and Kolarek (4-3) followed with a perfect sixth.

Boston loaded the bases in the eighth before Emilio Pagán, Tampa’s seventh pitcher, got Rafael Devers on an easy fly to left end the threat. He gave up two singles with two outs in the ninth before retiring Christian Vázquez on a high fly ball to left for his eighth save.

Josh Taylor (0-1) gave up a single to the only batter he faced, right before Garcia’s winning double off Colten Brewer.

Mitch Moreland hit a two-run double in the first inning and Benintendi also had an RBI single for Boston. Devers had three hits for the Red Sox, who are playing 14 straight games against the Yankees and Rays, the two teams ahead of them in the AL East.

Boston won five of the first six to move ahead of Tampa Bay and into postseason position, but dropped the series finale against New York on Sunday and now trail both the Rays and Oakland Athletics in the race for the AL’s second wild-card spot.

The Red Sox homered at Fenway Park for the 15th straight game, their longest streak since homering in 17 in a row in 1969.

NOTES: LHP Brian Johnson (non-baseball injury) is expected to be activated from the injured list and start one of the games in Saturday’s doubleheader at Yankee Stadium.