I'm reasonably sure that my Endowment policy did not work like this. If I died before the term I (i.e. my estate) would get the exact amount specified on the policy, no more, no less. This would happen whether the policy had been in operation for 1 month or was 1 month away from the full term.
Otherwise I would get the sum assured, and any bonuses applied to the policy.