INCIRLIK AIR BASE, Turkey — Late on a Friday night last month, Col. David Trucksa sat in his living quarters on the base here, watching a baseball game as he tried to unwind after a long week overseeing American airstrikes on Islamic State militants.

Then one of his deputies called.

“‘Sir, you need to turn on the news — there’s something going on in Turkey,’ ” Colonel Trucksa said his deputy had told him. “So I flipped on the channel to see what did we have — CNN, I think — and there it was: ‘Turkey Coup.’ ”

As Colonel Trucksa and other senior American military officers at the Incirlik Air Base scrambled to figure out what was happening, reverberations from the coup attempt were felt directly at the installation, home to hundreds of American airmen, senior military officials said in a series of interviews.

A Turkish tanker plane from the base had apparently refueled one of the jets that the coup plotters used to conduct airstrikes as they tried to overthrow the government of President Recep Tayyip Erdogan. In response, the Turkish government cut power to the base and grounded all flights, the officials said, significantly curtailing American airstrikes in northern Syria against the Islamic State, also called ISIS and ISIL.