Shrink How to avoid stop writing

I have 1 index with 2 primary shards, I want to narrow it down to 1 shard, I learned through search that it is recommended to achieve through shrink api, but shrink will stop writing, is there any solution to stop writing?

You can't.

You need to make your users write to another index if you can't stop writing.

@dadoonet thanks Just as I thought