I was driving in rain with lane keeping assistance enabled. As the car followed a curve, my tires began to hydroplane and the front end began to lose directional control and drift to the right of my direction of motion. I overrode assisted steering and attempted to keep the front end aligned with the rear so as to avoid a spin. At this moment, I felt the adaptive cruise control add torque to the rear wheels which pushed the rear tires out from behind and aggravating the planing, and defeating my effort to keep the car aligned. I suppose I then fully disabled the cruise control, but the car had already rotated too far to recover directional control, and it spun 180 degrees (front wheels trailing the rear wheels.) This continued briefly until turning tail first up an earth embankment before coming to rest. There were no cars immediately near me at the time or it might have resulted in a multi-car collision in a hydroplane zone, with a good chance of multiple serious injuries. The vehicle was inspected by the insurance adjuster and repaired. The car is available to examine. There were no indications of a system failure and Tesla did not concede to any. I contacted Tesla service and requested to examine the control system data to assess if the adaptive cruise control had contributed to the loss of control. After providing a Tesla agent with the time of the event he asked for, he reached back to me and stated that they were able to archive the data from the time of the accide