You can save a workflow before publishing it by clicking the SAVE DRAFT button. This option gives you the capability to revisit and edit a workflow before publishing it. This option is available at all stages after defining the workflow name.
This feature also comes in handy in scenarios wherein some other user would want to publish the workflow in the case of the primary user who created it per se.