I don't know how to unglue the joints. They are not turning loose by hand so I am guessing it is the thread tape or aquarium glu or both.

I need to change the position of our sump and the PVC is at the wrong angle now. Any suggestions will be appreciated. TIA, TR, Shirley