They’re only one way to get it off, use a hammer and smash it.
You may have to replace the floorboards after like we do.
Its going to cast iron soil stack, so you will need to cut it back and get a flexible coupling for it so you can add some plastic pipe.
Use solder rings, not push fit.