Close all panes (all notes)

Things I have tried

I could not find a solution in the help documentation or in this forum.

What I’m trying to do

I frequently have many notes open (in many panes) that I all want to close when finishing a task. However, I cannot find a function to close all panes. Instead, I can only close every single note individually. I though there must be a smarter way to close all panes.