eshell-kill-on-exit

eshell-kill-on-exit is a variable defined in `esh-mode.el'.
Its value is
t


Documentation:
If non-nil, kill the Eshell buffer on the `exit' command.
Otherwise, the buffer will simply be buried.

You can customize this variable.