Sometimes an open document in Microsoft Word is lost when the application closes unexpectedly.
Please see the attached guide for details of how to recover lost files in Microsoft Word.
For the guide to recovering files on OneDrive, please see this solution.