You didn't really say where exactly the leak is so I'm assuming it's at the T junction on the pipe. First realize that T junction means there is more than one fixture served water by that pipe that comes out of the floor.My guess is that T feeds a bathroom sink so you can't just cut and cap the pipe.
Second is unless you are going to a dry toilet this minute you should just fix the leak so you can use water in the RV.
I would look into getting a Sharkbite fitting from Home Depot. Link Link is for a T fitting but they also have 90's and straight fittings. They also sell lengths of the pipe in case you make a mistake and need to replace a section. Then carefully cut the leaking joint out and replace with the Sharkbite fitting. The beauty of the fitting is it's easy to use.
Cut the plastic tube as square as you can.
Trim the lengths of the tubes to the length that makes sure the tubes can slide into the joint and bottom out in the fitting.
Press the Sharkbite onto the tubes. It's just a push on no need to tighten or crimp anything.
Turn on the water and check for leaks.