Reallocate shards from DR to PR

Hello,

I have an elastic cluster with seven PR nodes and three DR nodes. All nodes are either master, hot or warm configured.

My primary and replica shards are distributed randomly in between the PR and DR nodes in the current settings. I want to remove the DR nodes hence need to remove any shard from those nodes.

I thought of

  1. disable any allocation from the settings
  2. put DR allocation disabled ( put DR nodes in excluded setting )
  3. re-enable allocation.

My questions are,
Would I lose any data in doing so? Do I need to do it when cluster operations are minimal ? Would this re allocate the existing shards or only change settings for new shards ?