OODA Loop. If an officer sees a plainclothes person providing cover fire to a fallen, uniformed officer, directing return fire against a determined, active shooter...
...it only takes seconds to ascertain the true threat.
Obviously every scenario is different and poses different risks, but this seems entirely plausible.
OODA Loop