Yes. Shareholders first must agree to give up ownership in the company in exchange for some amount of money. If approved, all shareholders will receive a certain amount per share, often at a premium to the market price. Afterward, they are no longer shareholders and the company's shares would be de-listed from exchanges.