$ENDSECTION
$ES
$ENDS
$ESECT
$ESECTION

Ends a series of Movements which belong to the corresponding $SECTION and $GROUP  commands.

Since a Section can contain sub-Sections and Groups, Sections must be explicitly ended by means of this command.  There is one exception to this rule.  The last defined $SECTION is automatically closed at the end of the file or upon an $END command being found after the $SECTION.