To leave your SAS session and return to the UNIX prompt,
type either endsas or bye
on the command line of any window.
If you are in X-Windows SAS, you can click the File menu,
then Exit, or click on the SAS Manager icon (probably
at the bottom of your screen), and then choose Terminate.