Buying a company with 2 partners, 1 exiting

Company has two founders at 50/50 ownership. Partner B wants to exit, Partner A wants to stay onboard and maintain current role.

Has anyone dealt w a situation like this? Would love to hear the good, the badf and the ugly.

Thanks!

Scott