Unallocating a shard

Hi All,
I am testing some corner cases in my setup and trying to reproduce unallocated shards scenario. Is there any way to forcefully unallocate a shared?

Thanks,