Recover redirected folder

I have redirected my /var/cache/apt folder to /media/anotherdisk/DATA/apt, so that apt file looks like this now: apt -> /media/anotherdisk/DATA/apt. I would like to undo this, but not sure how to do it. Sorry for the naive question, thanks in advance.


Managed to do it simply by deleting the symlink and moving apt folder back to /var/cache. I initially couldn't do this due to permission issues, but it worked as sudo.