Your input pin will still see 5v as the potential difference between the pin and the input pin is 5v irrespective of what goes on in between the arduino and the input pin.
Your input pin will still see 5v as the potential difference between the pin and the input pin is 5v irrespective of what goes on in between the arduino and the input pin.