The departure warning came amid ongoing threats of a U.S. attack on Iran and the high probability of Iranian retaliation against Israel and U.S. forces in the region.