How to restore an elasticsearch. shard from an index

Is there a way to restore a particular shard from index using elasticsearch snapshot api

I don't believe so. What is the use case?

One of the shard is corrupted from an index , so wanted to restore that shard only , not the entire index

Why not restoring the full index? This will be much safer IMO than trying to do some magic.