To prevent accidentally leaving unpublished edits to catch the next editor unawares, it would be helpful from a content editing experience point of view to prompt the user if they want to discard unpublished edits when navigating away from the editing interface.