Forfeiture of shares occurs when a shareholder loses their ownership rights and privileges over the shares they previously held. This can happen for various reasons, such as non-payment of allotted shares, violations of company policies, or breaches of shareholder agreements.