Ayuh,.... If it's a Flare fittin',...If it is a flared fitting at the end, you remove, then screw the plug into the valve female thread. As for the tape, you have to use the Yellow, or just do the smart thing, and use the pipe compound, since most people do not wrap enough turns around the threads of fittings, nor tighten it enough.
When done, you take some soapy solution and spray around the fitting to see if it bubbles when the gas is on. No bubbles, you did fine.
Code says you must cap or plug the valve and the valve needs to be in the off position. So you need to remove the appliance connector.We are switching from a gas range to electric. I disconnected the gas line after turning off the valve. Since it will not be in use should I buy a cap to put over the end of the gas line?
Your telling me! I'm going to have to pull the whole thing out and redo it. I put a cap on the flange with yellow Teflon tape. I'll remove that and the flange and buy a plug.And never trust a man in a orange apron :wink: