Good evening, @owllea.
Welcome back to the QuickBooks Community. Thank you, also, for providing a screenshot of what you're trying to overcome. Allow me to share some insight into the QuickBooks Chart of Accounts. Sometimes a company may want to remove an old account or hide it. QuickBooks allows you to do just that.
There are also times where a company may need to review data from these old accounts, and the program has you covered there, too. What you're encountering is the latter. To hide all inactive accounts once more, there is a small checkbox towards the bottom of the list, titled "include inactive." Make sure this box is unchecked, and your inactive accounts should go back into hiding again.
To help you a little further with this, below is the screenshot you provided with an indicator of the checkbox I'm referring to.
Give this a try and let me know how this works for you. Should you have anything else you'd like to go over, don't hesitate to reach out to the Community again. I'm always here to help.