I opened the profiler graph by pressing shift + f3 then I wanted to close it to play again but before it was possible by pressing f3 and the only solution I found was close the game and run again in 20w06a (press f3 did not work, close the world did not work and the graph stay on the menu).
Thank you for your report!
However, this issue is a Duplicate of MC-170816.
That ticket has already been resolved as Fixed. The fix will arrive in the next version or is already included in the latest development version of the game, you can check the Fix Version/s field in that ticket to learn more.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki