If you are a beneficiary of one of the kinds of trusts where you hold shares, then you may be able to sell or gift your shares to someone else.
If you want to withdraw from a whānau trust, you can apply for a partial termination of the trust, to take your shares out.