Does the word "term" have the same definition in the next two sentences?

He left school before the end of term.

The term allowed to a debtor to discharge his debt.
the same meaning