Last year, my employer of the time went bankrupt. Management had somehow succeeded in borrowing some €15 million from several banks, based on wildly optimistic projections of future revenue that were ten times greater than the company's existing annual revenue of less than €4 million. The company then burned through the loans in barely over a year. Ultimately it was forced into liquidation by its creditors, and a competitor bought what was left. The buyer retained me, probably because I was on the employee committee. But this buyer already had too many IT employees and consultants, so I was a bit in limbo, mostly doing development work. I had been IT manager, developer, sysadmin, and everything else for the previous company, where I was the only IT employee, out of 300 (!).
Although I'm well qualified, I'm old, so I don't know how difficult it will be to find another job. Age discrimination is very strong in France, even though it's technically illegal. I've never had to file for unemployment in France so I don't even know how it works.