As someone who has worked at the same job for 17 years now and had my original boss fired a week ago this hits hard... after that amount of time I really have no idea what to do now and it's super weird not having them around, or anyone for that matter, to provide direction.
To clarify he was not a bad worker, or did anything wrong outside of being there to long with a higher end job that the company felt wasn't needed despite not really understanding that he did a lot more than his title suggested because that's what happens when your there over 25 years. The company has been doing terrible for the last few years and has suffered a lot of layoffs... I talked to him a bunch after but I definitely feel like I won't really talk much going forward since our biggest thing in common was that we worked together.