"script/console" vs. "script/console --sandbox"
In sandbox mode, any database changes made while in the console will be reverted when you exit the console.
This is different to the regular console where all database changes will remain when you exit.