In the construction industry the saying is “Lay them off, pay them off”, in other words, hand them their last check and escort them off the job site.
That's how it happened to me during my two layoffs from engineering companies. And one of my previous managers still called me for help for quite a while afterwards (which I did provide).