Sad situation but I have recently resigned from a startup I helped turnaround and bring to profitability. Unbeknownst to me, there were payables I was unaware of and it was too much to surmount, even with good cash flow. Aside from being wrecked emotionally (I thought "we did it!"), I am now reckoning what will be the outcome. They currently owe me multiple 6 figures of cash, and I thought I was the only one "accruing", but there are/were plenty of others.
In any case, at the time of a liquidation (due to IP, I think there is a good chance of acquisition) who gets paid back first- Vendors or investors?
Edit to add that I am not an employee but a contractor with invoices for my time.