Nielsen betrayed no frustration in her resignation letter, which said she was “immensely proud of our successes in transforming DHS to keep pace with our enemies and adversaries — whether it is in cyberspace or against emerging threats from new technologies.”