If there is only one code then I don't think it will be needed to go back just to see what it was. It more than likely is a code pass off from what is a much bigger issue.
Yes, the loose wires can be a cause for this and many other problems.
The A/C compressor alone can cause big problems if there is a powertrain problem because the compressor adds load to what ever problem you are having.
If there are loose wires that you can shake to get results then you need to gain access to the wires and locate the source that is shorting out when the wiring is moved. At this point, after the short is fixed then you can find out rather the transmission problem is a mechanical problem or if it was due to the wiring issue.
Another note that I would like to add is that loose wires can cause all sorts of problems and could possibly be the reason a code popped up in the computer.
I am glad I could help! It has been a pleasure working with you.
Please don't forget to rate my answer so I get credit for assisting you today.
The question WILL NOT close. We will still be able to continue this conversation if you have any further questions after you rate my answer.
Please take a moment to get familiar with our new rating system. This is very important and this affects me greatly. There are 5 ratings that are listed below. Please rate my service as number 5 "Great service" or "Excellent service" for providing you timely accurate information specific to your vehicle or use the reply button to continue the conversation.
1) Bad service--------------Does not pay me, and means you had a negative experience
2) Poor service-------------Does not pay me, and means you had a negative experience
3) Ok service----------------Pays me and means you had an "OK" experience
4) Good Service------------Pays me and means you had a positive experience
5) Excellent service--------Pays me and means you had an Excellent experience
Again, if you have any additional questions, please feel free to reply by using the "CONTINUE THE CONVERSATION" button.