Ms. Cook said that she would not resign from the Board of Governors, hours after President Trump announced he was firing her.