A moderator, review voters, etc. initiate a status change of a question to "closed", "off-topic", and so forth. At the moment of the approved change someone was already in the middle of writing an answer (even if the first and only), and their answer was not submitted before the question's status changed.
Does the answerer lose their work entirely or does the system prevent this sort of coincidence from occurring (e.g. giving an error, enforcing a wait); whether at the side that decides to close it for example, or even if in a non-submitted and "auto-saved" or maybe "not auto-saved" state too?
The Wondering Mind Thoughts
I wonder if the "auto-save" configuration for answers being written would make any difference in such an instance. For example, I wonder if they were writing an answer before the time period of the first auto-save, does that make any difference if the auto-save would have already occurred.