WHen I checked the VM is in error state in Horizon COnsole. While doing a recompose I am getting the error. "Failed to delete VM - Failed to resolve id of disk '".
WHen I checked the Persistent disk vmdk is also not in the Datastore, which is showing in horizon. The VM is turned off in vcenter.
Please help, how to retrieve the data
If persistent disk VMDK is not present in actual datastore, you can not retrieve it unless you have a backup of persistent disks. You can import the backup and then in horizon view you can recreate VM using persistent disk itself.
Horizon view might be showing the corresponding entry in View admin page because it might have an entry in AD LDS database.