To remove the kitchen sink plumbing, turn off the water, remove the water supply lines, loosen the nuts, and remove the drain and P-trap. Then you can safely disconnect the garbage disposal and remove it from the system.