Psql commands not working

psql commands has stopped working all of a sudden. This has happened before i can probably solve it with a reset but I want to know a solution just in case i don’t want to.

It looks like you have musmatched your quotes. Just exit the terminal and retry. (Try CTRL-z or CTRL-c or just close the terminal down)