The company can offer something called a Tender Offer or Liquidity Event (I've heard them used interchangeably) where when they're raising new funding the employees can put up the shares they hold as a part of the sale. Alternatively a share buy back.