The connectors are keyed and you should not have any issues plugging them back in. The wires are generally cut to length and it’s pretty hard to get things plugged into the wrong spots. If you’re really worried, you could use some painters tape and mark the location of the connectors as you remove them.