What does "demonetize" mean?

Demonetize: To deprive of current value; to withdraw from use, as money. They [gold mohurs] have been completely demonetized by the [East India] Company. R. Cobden.

Sources