If it registered as containing metal then it could be slag or similar trash. If your real lucky it could be a meteorite. Those can be worth quite a bit. I don't actually know what it is though.
Does it set off the detector, or was it just dug up while searching for a metal object?