add deactivate

@umop, for use in #1752