Shard does not get corrupted if elasticsearch is forcefully closed

Find a way that Shard does not get corrupted if Elastic Search is forcefully closed ....

Regards
Sumit Gupta