code: function() {
          if (OpenLayers.Control.prototype.deactivate.apply(this, arguments)) {
              var control;
              for (var i=0, len=this.controls.length; i<len; i++) {
                  control = this.controls[i];
                  this.activeState[control.id] = control.deactivate();
              }    
              this.redraw();
              return true;
          } else {
              return false;
          }
      }
docs: APIMethod: deactivate