Suggest you put your rig make/model/year into a signature.
I see you have a HR Endeaver.
My window is held in place from the inside. On the inside the flange is screwed into the outside portion, this is what holds the window in place.
In the past to remove one of my windows I've removed all but 4 of the screws, loosening them enough to allow the window to move a little. Go outside and use a plastic putty knife to break the seal around the window. At that point the window should be loose. I've then rig up a bungee cord to hold the window in place from the inside. Remove the rest of the screws on the inside. Go outside and pull the window out and release the bungee cord.
After the window is out you'll have to clean any sealant back off the side of the coach. Not sure what they used to seal your window, on mine it is a piece of weather stripping that is stuck to the window. If yours is the same, and you don't damage it while removing you should be able to use it to put the window back.
Install the window and inside flange.
Use a clear NON-Silicone type sealant on the outside around the perimeter of the window. Use the clear
https://www.geocelusa.com/product/pr...xible-sealant/