To divest of a frock.
To formally remove the rights and authority of a member of the clergy.
The defrocked priest may no longer perform rites.
(by extension) To formally remove the rights and authority of someone, e.g. a government official or a medical practitioner.