Yup.
Both Wei Yun and Yutong went back to the past, but only Yutong remembers everything at first. Then the accident happened and Wei Yun finally remembered what happened in their original timeline.
Since the exam day ends (their last memory before time-travelling), both of their souls went back to the original timeline where Wei Yun disappeared after the accident.
I think this is why the fortune teller said what happened to Wei Yun can't be avoided, but Yutong's worry will be relieved.

Wait so is he,actually alive fr?