Hung psql terminal

hello

I am currently working on: https://www.freecodecamp.org/learn/relational-database/#build-a-world-cup-database-project.

The psql terminal often gets “hung” after I run the query \d teams;
It gives the expected output and then says (END) and goes into a hung state when I have to kill it.

Any suggestions?
Thanks
Nisha

q should get you out of that