After you have resolved a customer query, you may close that ticket.
1) Select the ticket you want to close.
2) Click on the [Close Ticket] button on the top left corner (as shown in the screenshot).
3) Once you do, your ticket will be closed.
4) You can always go back to your closed tickets on the [Closed] tab (as shown in the screenshot).