She departs the same day a judge warned her against "masquerading" as the top prosecutor in the Eastern District of Virginia.