Definitions of discharge

official notification that you are no longer needed for a particular position, job, project or task etc

The board of directors was granted a discharge from liability by the general meeting.

if a court issues a bankruptcy discharge order, the debtor is no longer liable for certain specified types of debts or other liabilities

Under current laws, a court will usually issue a bankruptcy discharge order three years after the initial bankruptcy order was made.

official permission to leave a prison, hospital, court of law or the army etc

A teacher who received an absolute discharge from a court after assaulting two pupils has been banned from teaching.