to leave a place
I exited through a side window.
He exited the courtroom in a fury.
to stop using a computer program:
Press F3 to exit.
used in the instructions of a play to tell an actor to leave the stage:
Exit Hamlet, bearing the body of Polonius.