How do I go back to the report view mode, after I've modified a query?

You will want to select Close, then select Apply Changes, or Revert.