You can find the details of executive severance plans in the SEC filings of public companies, they make for fascinating reading. Typically accelerated vesting of all equity, 12-ish months salary, extension of other benefits like health insurance. It’s also usually guaranteed in their employment contract if they’re terminated for any reason other than just cause (basically everything other than committing fraud or harassing employees).