How to cancel active command to return to the default command

for example:

click on RECTANGLE

IN THE DEFAULT THE PROGRAM PUTS A RECTANGLE WITH RANGE ANGLE

If I use "chamfer" OPTION, the program draws a rectangle with beveled corners

How do I do to return to the default option with right angles?

Thanks.