Open the server you want to leave and click the three dots next to its name. Next, select the option Leave and confirm an action.