Why not just put them back in the new freezer ?
From Spruce Eats:
"Have lots of leftover holiday ham, and wondering if you can freeze some of it to enjoy later? What if the ham hasn't been cooked yet? Can it go back in the freezer? The answer to both is yes. It's perfectly safe to refreeze ham (both cooked or uncooked), as long as it was thawed in the refrigerator (Other methods of thawing aren't recommended). Here's what you need to know to get good results.
Freeze and Refreeze
For safety purposes, ham should be refrozen within three days of thawing. There may be a slight change in quality due to the moisture lost during thawing, which can affect the texture of your defrosted meat. Do not refreeze ham that's been left outside the refrigerator longer than two hours. Make sure the meat is packaged properly, so it doesn't get freezer-burned.
If you have a lot of ham to freeze, think about dividing it into smaller portions before you stick it in the freezer. It will allow you to pull out individual packages, without having to thaw out the whole ham."