单项选择题

The businessman regretted having spent so much time traveling when he () with his family.

A. should have stayed
B. had stayed
C. was to stay
D. must stay