You can leave a meeting at any point – and usually rejoin it later (you may need to be cautious if there is a waiting room and the host is occupied in a presentation, and therefore is not constantly checking for people held in the waiting room). When the meeting has finished, you need to remember to leave the meeting. First move the cursor so the following black menu bar appears in the bottom of the window:
You can see the ‘End Meeting’ button in red on the right of the bar. Click the button, and Zoom will ask ‘Do you want to leave this meeting?’:
Click ‘Leave Meeting’ and you are done.