You can control cooling, just not directly.You can't control when the Tesla Model Y will cool the battery pack. The Tesla may circulate coolant through the pack and the vehicle's radiator. The radiator fan can come on, the AC compressor may also be turned on. If I am leaving for a week my Tesla Model Y is safer in my garage than on my driveway or at an airport parking lot.
Cooling kicks in (as needed) during charging, so one can avoid cooling by avoiding charging.
To avoid charging, one can set the car up with a full charge before leaving, and then lower the charging limit so the car doesn’t try to maintain 90% over those three weeks.