ABS warning light posting more codes after changing "Problematic ABS Sensor"

Do you have to drive the car for the light to come back on? Was it definitely a faulty sensor rather than a damaged wheel speed sensor ring?