The owner had stopped at an ATM and left the car running when the alleged thief tried to steal it, police said.