I’d guess that is the culprit somehow.
log in as root via SSH
then execute the following commands:
cd /shares/Public
rm Public
This should remove the symbolic link. Since it is not rmdir, it shouldn’t remove the target directory. But you could create a test directory, create a symlink to itself in the same way, then test the deletion…