code: function() {
          if(OpenLayers.Control.prototype.deactivate.apply(this,arguments)) {
              this.dragPan.deactivate();
              this.handlers.click.deactivate();
              this.pinchZoom.deactivate();
              return true;
          }
          return false;
      }
docs: Method: deactivate