AP-5 takes a Coordinate action, removes stress from a friendly ship, and that ship tries to acquire a Target Lock, or tries to Barrel Roll, but cannot. Maybe the chosen enemy for the TL is out of range, or the BR does not fit. The stress has already been removed. Normally this failed Coordinate action would mean AP-5 can Coordinate a different action to the friendly, or Coordinate a different friendly, or choose a different action altogether. But in this case, AP-5's pilot ability has already triggered, even if the Coordinate action fails. There's no rules-method of putting the stress back on the friendly ship, or taking the stress back off of AP-5. If it is a failed action, could AP-5 then choose a different friendly and remove stress there, too (let's say AP-5 has "Chopper" crew in order to attempt actions while stressed)? If that action fails, too - AP-5 won't even take damage from using "Chopper", because that damage is triggered after performing the action and AP-5 could go around the board removing stress from all his friends.
I think the final, correct answer ought to be that this shouldn't be allowed. What I am looking for is a rock solid rules-as-written reason why this cannot happen, and I haven't found one.
Edited by Incard