Hey, I can see you’ve already figured it out, but there’s an easier way than closing all the windows.
From the Agents Window, you can get back to the Editor via File > Open Cursor Editor Window, or Ctrl+Shift+N on Windows. That should open the Editor window. The issue is that it may open without your project context. If that happens, just open your folder from the new Editor window.
Totally get the UX feedback. Switching between the Agents Window and the Editor isn’t obvious right now. The team is aware, and a few users have already reported it. Your report helps with prioritization.
Related thread with the solution: Can't get back to standard IDE from agent mode