How to exit the **CommandMode**