Sign out is at the bottom of the portal sidebar on desktop and at the top of the portal on smaller screens. It ends the demo session only. Your profile, accounts, positions and history remain in this browser's storage.
To come back, open the demo login and choose Resume demo.
To remove the data instead, use Reset demo data in portal settings. See Resetting demo data.