Actually I have found a work around. Least on PC.
I mean you'll still lose the table... but you won't have to relog.
If the glitch happens, go to your friends bar at the bottom. You can't press anything that was there before the GUI bug, but when you open a profile you can still interact with the screen. Enter their ship. Then use a white canvas painting thingy. Then draw. Then save. Now you should be able to acces ur menu at least. Now go to your ship. Access a bot. Boom. The GUI glitch is gone.
^^I tried multiple ways to get it to go away w/o relog. I found this one to be the fastest.
You have a lot of free time when you don't own a squad.