At the end of the trust period, the shares would ordinarily be re-transferred to the beneficiary, although in practice many voting trusts contain provisions for them to re-vested on the voting trusts with identical terms.
Typically, at the end of a trust arrangement, the shares are transferred back to the person who originally received them. However, in reality, many voting trusts have provisions that allow them to be reallocated into the same voting trusts with similar conditions.