code: function () {
          if (OpenLayers.Handler.prototype.deactivate.apply(this, arguments)) {
              if (this.dragHandler.deactivate()) {
                  if (this.zoomBox) {
                      this.removeBox();
                  }
              }
              return true;
          } else {
              return false;
          }
      }
docs: Method: deactivate