A man was arrested after a car was stolen from outside a shop in Colburn at the weekend.
The vehicle had been left unlocked with its engine running outside the store at about 7. 30am.
A spokesperson for North Yorkshire Police said: “It appeared an opportunistic thief had jumped in and driven away.
“We quickly responded to the report and 24 minutes later found the vehicle in a residential street with a man in the driver’s seat.
“He was swiftly detained and following a roadside breath test found to be over the legal limit as well as driving with only a provisional licence.”
The man was arrested on suspicion of vehicle theft, driving otherwise than in accordance with a licence, driving without insurance and driving while under the influence of alcohol.
The 22-year-old man has now been released under investigation.
The spokesperson added: “If you have a keyless car, if the engine is left running and the key is removed, most keyless cars can very easily be driven away by an opportunistic thief.
“It won’t start again if the engine is stopped, but as long as it’s running then it can be driven without the key present.
“So please make sure you turn off your engines and lock your cars to keep them safe.”