Important to your point, this method makes it difficult to stray from the real valuation. If Alice really wants out, she does not value the shares as much as Bob. Her just valuation will be viewed as a good deal by Bob. The scenario you define probably will not happen. If it does happen, then by definition Alice actually valued staying with company.
Sometimes novel IP has value, and sometimes the company has assets that are worth something, but this is relatively rare for software companies.
If you are relatively popular with your current users, your brand may also have some worth, and quite a few companies are happy to scoop up a brand, hollow it out, and retire it a few years later once it's no longer associated with anything worth while.
Otherwise... The company dies, because it was not profitable enough, and this is both normal and expected.