lol - this situation is not uncommon. Cats climb up into engine bays of cars parked outside, especially at night in winter, to get near the warmth of the engine. Then sometimes they get stuck.
My brother had this happen to him except the owner of the cat discovered where the cat was before my brother was able to get in the car and drive off.
Bookmarks