You don’t do uni for your friends, you do uni for you (and can make friends along the way). Don’t think about going home and not being around mates, go home because it’s what you think is best for you but think about it properly before dropping out.
Personally I dropped out of my PGCE course as the stress and absolute zero *ucks given by the uni to its students on placement was paramount… so I left (this was in December 2019, yes, when the plague hit). I would speak with your course leader and discuss this with them, it’s possible they could reserve a spot in the course for you next year if you change your mind. I started my MSc this year and deferred a year after being offered a golden opportunity at work, so started my course in 2023 instead of 2022 after speaking with the course leader before I started.
Just make sure this decision is right for you (I’m not saying this is the case but it may also simply be home sickness), it’s possible that you could do a different course however if home sickness is not what you think.
Perhaps get a job for six months or so if you want to do a different course to have some disposable income if you wish to start next year too.
There is loads you can do but make sure it is what you want. Good luck!