When an event ends
Events close by themselves.
You don't have to close an event. It ends on its own at the end time you set when creating it (you can move it later under *Edit*): sales and the gate close, the contract is marked ended, and the event moves to Past events on the storefront. No ticket can be valid after the end — a ticket type without an entry window of its own is valid until the event ends.
The end is enforced at every door at the end time itself, not when the event is later marked ended: online scanners refuse from that second, offline scanners and Pi readers carry the end time with their offline data and stop admitting a little before it by their own clock (40 seconds — the clock tolerance they use for QR codes, so a scanner whose clock runs slow still never lets anyone in after the end), and the attendee's phone stops showing the code. An entry a scanner took offline *before* the end and synced later still counts; one stamped after the end is refused and shown as a conflict in the scan log.
Events created before end times existed end when the last entry window closes (a type without a window counts until 24 hours after the start). Buyers see the start, the end and the duration on the event page. Holders keep their NFT keepsakes.