On modern SharePoint list and library pages, there’s a link in the lower left of the page that says “Return to classic SharePoint.” This link reverts the current list or library back to classic mode. On the classic page, there’s a corresponding link that says, “Exit classic experience.”