Jeep grand cherokee a/c

my a/c is going out periodically while i am driving and then after i shut the car off then turn it back on it runs fine. any idea what may cause this? its just turns completly off while driving.

What year is you Jeep, and how many miles are on the odometer?

When you say, “my ac is going out,” and, “it just turns completely off while driving,” what, exactly, does that mean?

Is the blower still running? Is the AC compressor cycling on and off as it should? How long between cycles? Does the AC work well at certain speeds, or not at all?

When was the last time the AC system was inspected and recharged?