or make an tcl script that will do that +inactive and -inactive via the "channel set" in TCL. Consult the tcl-commands.doc file for instructions and/or do a lil forum Search, cos this have been discussed before and an solution If I recall corectly had been offered.
Once the game is over, the king and the pawn go back in the same box.