Example: Alice wants out. She proposes that Bob buys her shares for 50k. Bob may either accept the purchase, if he thinks the price is correct, or he must sell his own shares to Alice if he thinks the proposal is over-valued.
There are more details to this, like a horizon allowing for funds to be sought, the possibility of financing by the company or dealing with more than two partners, but this is the gist of it.