How can I halt the process of movement of indices from hot nodes to warm nodes in elastic?

I have initiated the process of movement of week 49 indices from our designated hot nodes to warm nodes using the API:

PUT *2020.49/_settings
{
"index.routing.allocation.require.data": "warm"
}

Now how can I halt this process? For example, if I have mistakenly selected week 49 instead of 48, what are my options?

You can currently only cancel a subset of tasks that Elasticsearch runs, I don't believe this is one you can cancel. You will need to wait until it's complete and then move it back.