Exit spark shell

Exit the command
: quit

Read More: