When no command is active anymore a right click somewhere in the drawing area should give this:

A number of the last used commands are presented, click on the one you want.
Maybe I have misunderstood you. This feature does not work if the command was given by typing in the command line, only when induced by icon or menu.