Yaccarino, a traditional business executive, was in many ways a strong foil to the mercurial and controversy-courting Musk. She did not cite a reason for her departure.
Musk confirmed Yaccarino will succeed him as chief executive of Twitter, which has seen advertising plummet. The two appeared in a marketing conference in April.