Sorry for your issue. That's not ideal.
Have you tried going to Window > Workspace > Reset "Workspace Name" to Saved Layout? If that doesn't help, try resetting the preferences of After Effects. Here's how: https://community.adobe.com/t5/after-effects/faq-how-to-reset-trash-preferences-in-after-effects/td-...
Let us know how it goes.