Deselects (ends viewing/editing on) an event. After calling this function, results of attempting to query or change event information are not guaranteed until a new event is created or another existing event is opened.
See also Calendar functions.
Signature:
CalendarCloseEvent()