When I come back the next day, all my windows are on the laptop onboard display, and if I'm lucky, resized in a way that makes them movable. If I'm unlucky, I need to close the application, re-open it, and hope it's back in a helpful way.
The 2x 4K panels show me my wallpaper every morning. They don't show me any windows that were on them.
"intuitive" is in the eye of the beholder.
Still a very stupid problem to have to solve.
You can ask Windows to try and remember the location. It's not fool proof, but it works 90% of the time.
In fact, I've got more issues with windows opening on a non-connected screen (and then having to do Winkey + right a couple of times until it shows up on my laptop screen.
I don't know how you expect that machine to know that you're only disabling that monitor temporarily and you expect it to restore your windows at some future time when it reconnects.
If you plug in a new monitor, should windows jump onto it spontaneously?
Do you want them all to auto-minimize? You can probably get that. But it starts with answering the question.
On a laptop, reconfiguring to use monitors as and when you connect/disconnect them can be great.
However, I'm often on a PC with a fixed multi-monitor setup. The situation where one monitor is briefly out is transient. But some windowing systems decide to permanently erase all your painfully eked out settings at the drop of a hat.
The correct behavior in this particular case is actually just to do nothing, the fact that a monitor seems to have gone away should just be ignored. (Because it didn't go away, really. Maybe I'm just messing with it for a sec, or it's a different brand and turns on/off a few seconds after the others)
[IIRC on KDE you can prevent auto-reconfiguration by turning Kscreen OFF ]
That's why I run fluxbox window manager on a non-ubuntu linux distibution.
Leave windoze, leave ubuntu, regain control of your computer...