cause the same to be delivered to the order of the commander in chief in the Southern department, or he may cause them to be sold for cash when they are not otherwise needed, or he may cause them to be exchanged for such articles as are necessary for the army.