8.5 Leaving the headers buffer

When you quit or update a headers buffer that has marked messages (for example, by doing a new search), mu4e asks you what to do with them, depending on the value of the variable mu4e-headers-leave-behavior — see its documentation.