Brake warning light on dash

I did unplug the sensor and the light went off. As I plugged it back up it still had the warning light. And yes I have pressure on my brakes and can stop fine.