To discharge someone is to allow them to leave from a place, usually a hospital.
I was discharged from the hospital after three days.
Example picture