OOPs! I know the feeling very well.
Turn the power off at the main panel and at the local disconnect.
Get a small package of yellow wire nuts, see if you can pull a little slack in the wires, cut them off leaving about 3/8 to 1/2" stripped, put like colors together and put a wire nut on each pair of ends.
Well, now I see they are not similar colors. I would put the white on yellow and red on blue.
Let us know how it goes.