Short answer: it cannot. The pinhole camera model has no notion of 'focus'.
A more interesting question is, I think, the effect of changing the focusing distance on a pinhole approximation of the lens+camera combination, the approximation itself being estimated, for example, through a camera calibration procedure.
With "ordinary" consumer-type lenses having moderate non-linear distortion, usually one observes significant changes in:
- The location of the principal point (which is anyway hard to estimate precisely, and confused with the center of the distortion)
- The amount of nonlinear distortion (especially with cheaper lenses and wide FOV).
- The "effective" field of view - due to the fact that a change in nonlinear distortion will "pull-in" a wider or thinner view at the edges.
The last item implies a change of the calibrated focal length, and this is sometimes "surprising" for novices, who are taught that a lens's focus and focal length do not mix. To convince yourself that the FOV change is in fact happening, visualize the bounding box of the undistorted image, which is "butterfly"-shaped in the common case of barrel distortion. The pinhole model FOV angle is twice the arctangent of the ratio between the image half-width and the calibrated approximation to the physical focal length (which is the distance between the sensor and the lens's last optical surface). Changing the distortion stretches or squeezes that half-width value.