You can remove VMs and VM templates from the vCenter Server inventory or delete them from disk. If you only removed the VM from the inventory, you can add it back from the datastore.