I get this problem, often. There does not seem to be a permanent relationship between the USB slots on the computer and the COM port numbers.
When I get this problem, I unplug the arduino usb cable at the computer end, plug it back in again, and use control panel/device manager to see what COM number it is. I often have to restart the arduino IDE to get the IDE to recognise the arduino again.