Currently, it seems like pressing escape while in the chat box can make the latest changes created by copilot revert, however it is incredibly easy to cause this behavior when unintended, since the escape key is used in other places within the application (Eg, when prompted with yes, yes & approve, no).