Police arrested 24-year-old Dayne Benoit after he exited the store and they explained to him it is illegal to leave children unattended in a car.

"It's very serious," Sgt. Frank Sabol said. "Anybody could have came in and just jumped in the car and taken off, and now you have two children who are potentially abducted just because of the negligence of the parent."

Benoit told police he went into Walmart just for a few minutes to exchange shoes.

His wife retrieved the children, who were unharmed, before police took Benoit to jail.