north-bc Did you put in the shaft? If not, do you know if the shaft was inserted properly before it came loose?
Now, put the shaft in for dry fit to see if the shaft appears to be longer than it should ( which is good since the shaft will not bottom out ), if it measures at the 6 iron length without proper insertion, which is bad news, that';ll mean it'll be shorter when inserted properly.
To clean out the mess down in the hosel ( which could be just epoxy or it could be epoxy with a tip weight), Heat up the hosel as you would pulling/extracting the shaft to soften the epoxy, use a steel wire brush and a small screw driver to clean out as much as you could in order to confirm if there is something else besides old epoxy .
I suspect there would be a tip weight left in there. Heat and more heat to break down the epoxy ( sometimes need to point a pencil butane torch directly into the hosel opening for a more direct heat while holding the opening of the hosel tilting down ), You know you should wear a protective glove holding a piece of heated metal, right?
After the epoxy breaks down, tap it on a piece of 2x4 to dislodge the tip weight, give it a little help with that small screw driver to loosen it if it does not listen to your command.
Clean it up well ( all surface that will meet the new epoxy). The tip weight should be able to reuse if you can clean up the vent hole or side line on the outside ( excluding the lead tip weight for the obvious reason) Make sure there is an escape for the air when installing again.
Ask questions when run into difficulties, someone will be glad to help you.