The ending of a trust relationship, resulting in the final distribution of remaining trust assets to beneficiaries. Under California law, a trust may terminate according to its own terms (e.g., upon a specific date, event, or fulfillment of its purpose), through revocation by the settlor (if revocable), or by consent of the settlor and/or beneficiaries under specific conditions. Additionally, the Probate Court can order termination if the trust’s purpose becomes illegal or impossible, the principal value is uneconomically low, or unforeseen changed circumstances defeat or substantially impair the trust’s purpose. Upon termination, the trustee winds up trust affairs and distributes the assets.