Zend certified PHP/Magento developer

Magento 2 admin page wont load. Any suggestions to revert changes?

I’m and very new to Magento so please forgive me. Basically I was working on our development server trying to change the layout of our main page. I changed configuration->catalog->catalog->listmode from grid/list to just grid, and now I’ve encountered a problem.

When every I try to load the admin panel, I am stuck in an infinite loading loop, and when I try to open up the configuration settings, I get sent back to the login screen and I get a “visible section not found” exception. What’s weird to me is that the customer facing side is unaffected and fully functional.

Like I said I am very new to Magento and don’t really know what I’m doing and don’t really know where to begin troubleshooting.

Things I’ve tried,

php bin/magento setup:static-content:deploy

php bin/magento cache:disable (and then re-enabled)

php bin/magento deploy:mode:set developer

rm -rf pub/static/frontend var/cache var/page-cache generated/

These seemed like the only suggestions I could find online, but I don’t really know where to go from here. I think I need a way to revert my changes, but I don’t know how I would do that outside of the admin panel. Any suggestions would be greatly appreciated.

Thank you in advance