Usually, one partner will buy out the other. The key is to plan for the termination of the joint venture from the outset. For example, the original agreement can include provisions which allow you to force your partner either to sell you their stake or to purchase your stake from you.