I don’t know if that resulted in a problem or not. After using CTRL + C, open the app.yml
nano /var/discourse/containers/app.yml
Check to see if the values have been blanked out, if they did, yeah, pressing enter caused an issue. Otherwise, you should still be okay.