Sales clerk freed of attempting to rob policeman