Take the shower head off, stick the handle of your pliers your end in the bent pipe coming out of the wall and dispose of pipe.
Since both these possible locations are different, it be nice to isolate the task. https://au.enrollbusiness.com/BusinessProfile/6016164/The%20Grout%20Guy%20Brisbane