after the starting signal, the leeward boat can luff only to her proper course. Normally that is to close-hulled but could be as high as head to wind if, for example, she had to sail that high to clear the mark at the end of the start line.
The pin is an obstacle surrounded by navigable water. If you aren't making it after the gun and you luff up to shoot it, you'd best be sure that no one to windward of you is forced to change course to avoid you or you will be in the wrong.