If its ordinary shares, you as a shareholder become a part-owner of the company. Thus, there is no expiry to your ownership of the shares acquired. However, your shares can be relinquished in certain situations; such as you selling your shares to a willing buyer in accordance with the terms stated in the Shareholders’ Agreement or Limited Liability Partnership (LLP) Agreement.
If its redeemable preference shares, the issuer of the campaign will state the timeline in which the shares will be redeemed (eg. 1 year from the date of fundraised) depending on the terms stated in the Shareholders’ or LLP Agreement.