Good news is there are many viable Firefox forks currently and I’m sure some of them could take the wheel. It is open source, after all.

It would be a shame to lose the Mozilla foundation/Firefox but it wouldn’t be the end of the browser.