There is minimal pressure with the engine off but do it with the steering central.
A very little fluid will leak but nothing significant if you have new sensor to screw back in straight away.
A very little fluid will leak but nothing significant if you have new sensor to screw back in straight away.