(d)the account balance or value (including, in the case of a cash value insurance contract or annuity contract, the cash value or surrender value) at the end of relevant calendar year or, if the account was closed during such year, immediately before closure;