code: function () {
          if (this.active) {
              this.handlers.feature.deactivate();
              if(this.handlers.box) {
                  this.handlers.box.deactivate();
              }
              if(this.layers) {
                  this.map.removeLayer(this.layer);
              }
          }
          return OpenLayers.Control.prototype.deactivate.apply(
              this, arguments
          );
      }
docs: Method: deactivate
  Deactivates the control.
  
  Returns:
  {Boolean} The control was effectively deactivated.