exit -
The exit command ends the user's current GRASS session and returns the user to the directory in which he was working prior to entering GRASS.
Manual entry for exit
GRASS Help
GRASS Documentation
GRASS WWW Home