What Happens To Companies After The Death Of Their Founder?

There are many examples of family businesses that flourish from generation to generation, while some hugely successful businesses are unable to survive the death of the founder. If both were successful during a founders lifetime, why do some thrive, while others demise. Certain businesses are tremendously related and attached to the founder, his image, story and reputation.