Question about Digital pins voltage max on INPUT

I was just surprised that it didn't fry. But after getting my meeter out, I measure 5v on the input pin but if I disconnect the pin and measure the wire, I get 16v.

Anyways, to correct the issue I set the pin to an INPUT, HIGH and now have a Diode between the pin and the wire, so the input pin only sees the ground. :wink: