If you want to disable them semi permanently, like for towing, pull the connector off to the module in the boot.
You can always plug them in again later.
I did this as I had a motorbike rack attached to my towbar, though the sensors didn't pick up the towbar, they did pick up the bit of the rack that was always bolted to it.
It's now been replaced by a little bike trailer and the dedicated wiring kit I fitted cuts off the sensors once the lighting board plugs into the socket.