The kess-control --remove-active-key command removes the active key.
kess-control --remove-active-key
Command syntax
kess-control [-L] --remove-active-key