code: function() {
          if(!OpenLayers.Handler.prototype.deactivate.apply(this, arguments)) {
              return false;
          }
          this.cancel();
          // If a layer's map property is set to null, it means that that layer
          // isn't added to the map. Since we ourself added the layer to the map
          // in activate(), we can assume that if this.layer.map is null it means
          // that the layer has been destroyed (as a result of map.destroy() for
          // example.
          if (this.layer.map != null) {
              this.destroyFeature(true);
              this.layer.destroy(false);
          }
          this.layer = null;
          return true;
      }
docs: APIMethod: deactivate
  turn off the handler