Quickly disconnect the nephrostomy tube from the drainage bag tubing. Put the cap on the drainage bag tubing to prevent the urine from spilling. Connect the nephrostomy tubing to the clean leg bag.