I think, what you are trying to do is 3D Document, not render. When you are in 3D window, right click with the mouse and select Capture Window for 3D Document. Your 3D view will be in navigator under 3D documents.
------
Gorazd Rajh
From AC 6.5 onward, Ryzen 9 5900HS, 48 GB RAM, RTX 3080, Win 11