code: function () {
        if (!selection.isSelected()) {
          return;
        }
        highlight.off();
        priv.currentBorder.disappear();
        if (autofill.handle) {
          autofill.hideHandle();
        }
        selection.end(false);
        editproxy.destroy();
        self.rootElement.triggerHandler('deselect.handsontable');
      }
docs: Deselects all selected cells