delete event and quit