Published: Aug 04, 2010 4:33 PM EDT
Updated: Aug 04, 2010 1:33 PM EDT

PENSACOLA, Fla. (AP) - A pharmacy theft in Pensacola fell apart when the suspect reportedly set his gun on the counter, giving the pharmacist a chance to grab it.

Police say 19-year-old Caleb Smith walked into a CVS pharmacy Sunday, pulled what appeared to be a gun and demanded narcotics from the pharmacist. When the pharmacist handed Smith a bag with the drugs, police say Smith set down the gun to open the bag and look inside.

The pharmacist grabbed the gun, which turned out to be a starter pistol. Smith ran toward the front doors, but another employee tripped him. The pharmacist and the other CVS employee reportedly held Smith until police arrived.

Smith was charged with armed robbery and grand theft. He was being held on $27,500 bail.