<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def deactivate(self):
 """Deactivate the Router."""

        if lib.EnvDeactivateRouter(self._env, self._name.encode()) == 0:
            raise RuntimeError("Unable to deactivate router %s" % self._name)