Step 1: Don't give up a significant portion of your company.
This is the same way drag along rights work.
For instance you may retain the stock, but have explicit agreements where specific investors get to have a specified representation on the board. Then no matter how much stock you own, you can't get rid of those investors.