Reset the Blender UI
If you end up with a messy UI like this one:

Use this workflow to reset the UI.
Setup
- Blender version 4.0
- Blender empty file
Workflow
- Save the messy UI file
File–>New–>Generaland open a new empty fileFile–>Openand select your messy UI file- In the open options (use the little triangle on top right) deselect
Load UI
- Open the file, the UI is resetted to the default