How do I bring the console window back into the same Unity window?

I have this issue where somehow I accidentally got the console window separated from the window that all unity things are n, so it floats around, blocking the unity screen behind it, as shown below:

Broken Console Window

And I don’t know how to fix it. I tried right clicking the projects tab but the option to add the console window wasn’t there. I also tried dragging around the console window back into place but that didn’t work. Whenever I restart this still happens, and even new projects have this issue, ever since I accidentally dragged the window out from the unity window shown behind it in the image I showed. There has to be a simple fix to this.