Doctor who quit US post was warned by state