The shield can function correctly even if it is not earthed. In your situation it might be best to connect the shield to the circuit reference on the card (ie. DC ground). However, it would be useful to know a few things first. Are there cables passing into and out of the box? Is it likely that a person would touch the sheild metal in normal use? Is the sheild there for a specific purpose, or just general protection?