Cost of public relations/damage versus legal fees versus a quick $50,000 for signing off on a confidentiality agreement...basic tradeoff...seen it done many, many times...for a lot more money in some cases, too.
Yes...obeying an order to STFU has its price... <grin>
Some people actually make a living for agreeing not to do certain things...LOL!