Why was that style of thermometer in the cage in the first place?

Without knowing exactly what was in it we can't tell you what to do. Many times these types of thermometers has toxic of irritating chemicals inside them. I would wash any skin that came into contact with the liquid for 5-10 minutes to make sure that all of it is off, and replace the thermometer with one that is much better suited for the application.