I seem to remember that the internal pullup is disabled by default, but if you want to enable it, you actually can do so using
pinMode (pin, INPUT);
digitalWrite (pin, HIGH);
i.e. you write HIGH to the pin as if it were an output pin, even though you have already defined it as input.
Can somebody confirm this with certainty?