“Display Density” chooses a view, but does not take you back to “classic gmail.”
I don’t think you can go back.