Terminal stuck on process completed

My terminal on macOS 11.0.1 is stuck with following prompt

Last login: Thu Feb 24 16:15:37 from Some_IP_Address

[Process completed]

Any suggestions?

After following the steps and discussions for the same problem raised by the other users and system restart it got fixed. So not sure about the exact steps

Terminal stuck on process completed
 
 
Q