MANCHESTER, N.H. (AP) — A man is accused of robbing a New Hampshire convenience store while armed with a sharp rock, then returning hours later to give back the money.

Police say 46-year-old Carlos Reyes, of Manchester, was charged with robbery and was arraigned Wednesday. His bail was set at $5,000 cash and his case was assigned to the public defender’s office.

Officers responded to a Shop-N-Go just after noon Tuesday. Witness Saoul Haney tells WMUR-TV that the robber apologized for the theft as he fled the scene and said he needed the money.

The clerk called police hours later and said the man had arrived to “turn himself in” and began crying.

Reyes was arrested after police reviewed surveillance photos.