1.quit from sqlplus
2 execute set oracle_sid="new_sid"
3.run sqlplus to confirm it.
see the picture below