You need to plan for this up front, same as with deliberately uploading a package to a central repo.
How exactly? If e.g. the registrar seizes the domain name that I've originally used and gives it to someone else, what, exactly, are my plans supposed to be for that?