simulate pin as connect nowhere
I'm not Arduino user, but I know that AVRs (like many other microcontrollers) have so-called high impedance state. 

There is explanation how to use it on Arduino here. So I'd try with PinMode(pinno, input). The high impedance state should left the pin floating and be as close as possible to non-conncted pin as you can get.