Extended from the literal arrowhead to the direction or target of an arrow, and figuratively to the brunt of criticism or attack. Often used in set phrases like 矢先に立つ (to bear the brunt).
Used in the pattern 〜した矢先に to mean 'just when one did something, (something else happened)'. Emphasizes the immediacy and unexpectedness of the second event.