Terminal shows ">" after running command
In your case, the problem is you are inputing a ” character in your command after nou} (note, not a " but a ”) .

The command should look like this:

for file in *.txt; do echo mv "$file" "${file/#new/nou}"; done

To break out of any ongoing command just press Ctrl+C.