Utility routines XIT and XPLB_EXIT can be called from within any Abaqus/Standard or Abaqus/Explicit user subroutine, respectively, (except UEXTERNALDB) to terminate an analysis.
XIT or XPLB_EXIT should be used instead of STOP to ensure that all files associated with the analysis are closed properly.