单项选择题

I missed the last bus. I could do nothing but () in the village for the night.

A.to stay
B.stay
C.staying
D.stayed