OAKLAND, Calif. -- A rollercoaster Thursday night for the Yankees included back-and-forth swings from frustration to excitement.

A long night at Oakland Coliseum ended with pain and misery.

The Yankees lost another game and added three more players to an already long injury list.

After Gary Sanchez and Aaron Hicks were forced out of the game in the ninth inning with injuries that appear to be minor, the Yankees grabbed a 10th-inning lead and then blew it in losing 8-7 to the Oakland Athletics.

After the game Yankees manager Joe Girardi revealed reliever Adam Warren was unavailable due to a sore arm, which also may not be a serious issue.

This nightmare night for the Yankees ended with A's left fielder Khris Davis blooping a two-out, two-run, bases-loaded single just over the glove of second baseman Starlin Castro in shallow center field.

This was the third loss in a row for the Yankees after six straight wins.

Perhaps way bigger are the injuries Sanchez and Hicks.

Just after Sanchez wiped out a fourth Oakland Athletics lead with a game-tying single in the Yankees ninth, the DH-for-a-night stole second base and then left for a pinch-runner with soreness in his abductor muscle.

And then when the Yankees took the field for the bottom of the ninth, center fielder Hicks also was out of the game with a sore Achilles.

Warren was available due to soreness in his "trap" muscle in his right pitching arm.

Sanchez was optimistic that his issue isn't serious. Hicks was visibly more dejected injury after the game, but hopeful his problem isn't a big deal, as well.

"As of right now, I don't think it's a long period of time (for either)," manager Joe Girardi said. "Maybe a day or two. I don't know. But I think we'll know a lot more in the morning when they wake up."

This West Coast trip is becoming a nightmare for the Yankees, who also lost hot veteran starter CC Sabathia to a Grade 2 hamstring strain on Tuesday night that has him on the disabled list.

And before these latest injuries, the Yankees already have been playing without three other key players who are on the disabled list: closer Aroldis Chapman, starting first baseman Greg Bird and starting center fielder Jacoby Ellsbury.

It's been a tough grind here and the guys ahave played extremely hard," Girardi said. "You've got to fight through it."

The Yankees took their first lead in the 10th on a sacrifice fly by Castro and then blew it with rookie Giovanny Gallegos in the game because three relievers couldn't pitch: Warren (soreness), Chasen Shreve (rest day) and Jonathan Holder (rest day).

All night long, the Yankees kept falling behind, then kept tying up the game.

The Yankees were down 3-0 by the second inning with Jordan Montgomery pitching, then scored three in the sixth to make it a 3-3 game, and that was just the start of a wild final five nnings.

Yonder Alonso homered for the Athletics in the home sixth to make it 4-3, Gary Sanchez doubled in a run in the Yankees seventh to tie it up again, Chad Pinder singled in a run in the A's seventh for a 5-4 lead, Chris Carter homered in the Yankees eighth to make it 5-5, Oakland scored a run on a fielder's choice in the eighth to make 6-5, then Sanchez' hit in the ninth tied things up again 6-6.

The Yankees finally took the lead in the 10th when Castro hit a bases-loaded, one-out sacrifice fly, but the A's scored two in the bottom of the inning after Gallegos retired the first two innings.

A single, double and walk loaded the bases for Davis, who won the game with a short popup that Castro just missed grabbing for the final out of the inning.

Instead, the Yankees loss.

"We kept fighting back," Girardi said. "We got behind. We tied it up. We went behind. We tied it up. We did it a bunch of times. And it hurts because it's a matter of a couple inches that you lose that game, and it's frustrating."

NOTABLE

-- Shortstop Didi Gregorius was 1-for-5 with a single to right during the Yankees' three-run sixth that extend his career-best hitting streak to 17. This is the Yankees' longest streak since Ellsbury had a 17-gamer in 2014.

-- Castro was 3-for-5 with a sac fly and his first stolen base of the season.

-- Third baseman Chase Headley was 2-for-3 with a two-run single and two walks. He's 7-for-11 over his last three games, raising his season average from .230 to .251.

-- Ellsbury, still on the DL recovering from a concussion, has been working out this week with the Double-A Trenton Thunder in Hartford. He's been shagging flyballs and is feeling better every day, WFAN reported Thursday night during its radio broadcast.

-- The Yankees made two roster moves before the game. Right-handers Luis Cessa and Domingo German were called up from Triple-A Scranton/Wilkes-Barre, right-hander Ronald Herrera was optioned to Double-A Trenton and left-hander CC Sabathia was placed on the 10-day disabled list with a Grade 2 left hamstring strain that occurred during his start against the Angels on Tuesday night in Anaheim.

-- Bird has stopped his rehab assignment with Triple-A Scranton/Wilkes-Barre due to recurring right ankle soreness and a right knee concussion. He'll be examined Friday in New York by Yankees physician Dr. Christopher Ahmad.

-- A's third baseman prospect Matt Chapman was called from Triple-A Nashville with 16 homers Thursday and he made his Major League debut against the Yankees. The 2014 first-round pick was 0-for-3 with two walks and a strikeout. His first time up, he worked a two-out walk that ignited a two-run rally.

-- Oakland free a spot on their 25-man roster for Chapman by designated starting third baseman Trevor Plouffe (.214, 7 HR) for assignment.

LOOKING AHEAD

Friday: Yankees at Oakland Athletics, 9:35 p.m., EST; YES Network. RHP Luis Severino (5-2, 2.75) vs. LHP Sean Manaea (6-3, 3.67).

Saturday: Yankees at Oakland Athletics, 4:05 p.m., EST; YES Network. RHP Masahiro Tanaka (5-6, 6.07) vs. RHP Jesse Hahn (2-4, 3.56).

Sunday: Yankees at Oakland Athletics, 4:05 p.m., EST; YES Network. TBA vs. RHP Jharel Cotton (3-6, 5.22).

Randy Miller may be reached at rmiller@njadvancemedia.com. Follow him on Twitter @RandyJMiller. Find NJ.com on Facebook.