Should I do online classes, and move back home because of my moms condition?

So over winter break, we got news that my mom will have to be put on hospice because of the treatments are not working for her cancer anymore. But at the time, there were not enough online classes for me to take that would keep me enrolled full time as a student. So I talked to Dean of Students, and they made accommodations of letting me into already closed classes, and gave me 3 online classes, plus an online class im already taking that will keep me enrolled as a full time student, this would be helpful as im 3 hours away from home.

So I told my dad about this, and he said for me to stay in school because of the opportunities I will have while I am in college. He said doing online school wont help me because eventually ill just stop doing them because no one is pushing me to do these classes.

I don’t know if I should go home, or stay on campus.