what does white plug on wiper motor do

Its a resister for the wiper motor. It doesnt have anything to do with your ignition. Why would you need to disconnect it ?