Press shift+cmd+D to undo those individual Terminal sessions with failed logins and then press cmd+Q to formally quit the Terminal. Of bigger concern is why you are seeing a login prompt in the Terminal at all and that suggests something is amiss in your Terminal Settings/Preferences panel.
You can make a difference in the Apple Support Community!
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
2 replies
Can you Force Quit?
Option (or Alt), Command, Esc (Escape).
The command prompt is stuck. unable to type anything. macos catalina 10.15.7