That’s your low point drain and yes the shut off is under the shower.
The valve leaked on me once and I had to open and close it a couple of times to stop it.
If the valve is bad,I would just add a cap to the end instead of trying to replace it in that confined area
__________________
|