No procedure really, turn the water off drain the pipe down cut it cap it,
there are three types of cap solder compression or push fit.
Only one thing to bear in mind, if you are capping the pipe permanently make sure you cut the pipe as close to the start of that leg, so that the water...