First check the number of redis nodes using ps command
Now identify the Master and Slave nodes, slaves nodes needs to be shutdown first
Now we need to shutdown the slaves at port 7001, 7005 and 7006
You can double check the port using role command
If by mistake a master is closed instead of slave then it will be considered as a failback and slave will become the master hence slave has to closed before closing master
Below is output where the redis was started, it can be std.out or std.err
Now Shutdown the master similarly and you are done