Sure, it felt pretty good at the time , but probably not $10 million worth of good.
From her employment agreement:
16. Non-Disparagement. You agree, other than with regard to employees in the good faith performance of your duties with the Company while employed by the Company, both during and for five (5) years after your employment with the Company terminates, not to knowingly disparage the Company or its officers, directors, employees or agents in any manner likely to be harmful to it or them or its or their business, business reputation or personal reputation.
Footnoted.com points out that Bartz’s termination benefits could total $10 million. Unless there were to be any unpleasantness about them.
Around these parts we take something of a casual interest in non-disparagement provisions, and are happy for Bartz that there's no direct link in the document between her payouts and this clause - so she should be safe unless Yahoo! wants to go to court. And Yahoo!'s board probably aren't that interested in drawing further publicity to what the awesomely foul-mouthed Bartz has to say about their collective anatomies.