I have been at startups where they just stop paying the office lease and salaries stop. These days i am just prepared for it. If you are in the backend side of things you can figure out most things with a few sql queries.
Expand on this? You querying the prod db to sus out the health of the company?
You don't even have to explicitly nose around, looking at the logs you'll see customer IDs and if they are sequential a keen eye will notice if they stop getting any higher.
It was great for planning the on-call rotation as well as giving us a heads up on which nights we could go out drinking and how late we could come in the next morning.
Last job I had before this one, I came into work the week before Thanksgiving to a mandatory morning meeting that consisted of "the company is out of business effective immediately, you will all be emailed your severance details by personal email, please clean out your desks".