When a ticket is closed without filling a mandatory Ticket Field, you would receive an error saying "Unable to close __ Required fields were empty". You could click on the Ticket Count mentioned in this error message to update the mandatory fields and close the ticket.

You could also mark the ticket field as non-mandatory by editing the field under Admin > Workflows > Ticket Fields.