A man walks into a store and points a gun at the store clerk and threatens to kill the clerk if she does not give him all the money in the cash register. The clerk complies and gives him the money. After he gets the money, the man leaves the store. The clerk is not physically harmed. What type of crime did the man commit?