The right of first refusal and co-sale agreement generally works to restrict a large common stockholder such as a founder from selling their shares without either (a) the company or the investors having the right to purchase the shares in place of the proposed purchaser or (b) the investors having the option to participate alongside the founder in the sale to the third party.