The root rot fungus will usually contaminate soil as well as the plant that is affected, but you may be able to reuse the soil when the plant is gone. To do so, mix the soil with water and then boil it before drying it out. This should destroy any remaining trace of the root rot fungus and make the soil healthy again.