Oracle error : Shutdown immediate error echo $ORACLE_SID
YBRD
conn sys/hello as sysdba
SQL&gt;shutdown immediate


Then I was waiting for it to shutdown for a couple of minutes. It didn't, so I closed my window.

Then I again logged in and it displayed:

ORACLE IMMEDIATE SHUTDOWN IN PROGRESS


Will it shutdown automatically by itself after a while?
Yes, it will -- of course if it persistently refuses to you might have to kill the processes, and face instance recovery on restart.