I have a script such as follows:
for ((i=0; i < $srccount; i++)); do echo -e \"\\\"${src[$i]}\\\" will be synchronized to \\\"${dest[$i]}\\\"\" echo -
Just press Ctrl + Z. It will stop your script entirely.