I failed to mention a similar setup in the apartment I lived in... Same deal, a live gas line with a valve and a small nipple on the end,
in the shower/tub space.
I turned the valve and it went hiss...
It was at that point that I decided
not to take a sawzall blade to any protruding gas lines in the way of my ceiling boxes!
Whoa Nelly!