Accidentally made 3D viewport take up entire screen
Thank god, I figured it out. All I had to do was control leftArrow or rightArrow to switch to a different workspace preset and it eventually brought me back to the preset I was on when I messed it up.