Honestly, I don't think you can do this through the GUI, but if you go to your Joplin profile folder and open the settings.json file, there should be a whole entry called ui.layout, which should look something like this.
Just delete it completely, then restart the application. Joplin should then open with its default layout. Also, just in case, create a backup copy of settings.json before doing the changes.