How to disconnect shower tray from drainage pipe?
I have used a strap-wrench to undo that type of connector.



In your case there is very limited access but it would be worth an attempt.

It can be difficult if some people have previously applied a sealant - which are not normally needed as there is usually a rubber gasket.