If "The dog chased the cat, which ran up a tree. It waited at the bottom.", is "The dog waited at the bottom." correct?

OPT: (a). no. (b). yes.
Answer:
(b).