Save spreadsheet of frozen application

My spreadsheet I was working on has stopped responding and is completely frozen. How can I save my work before having to force quit. I am using a 2017 iMac running macOS catalina

I am using Neo office. This work is very important and I can’t loose the document.

[Edit - Opaque] Shortened title and put old title to details.

This Q&A is for LibreOffice, queries for Neo Office should go to

If the office Suite has frozen then you are already too late. Always save early and save often.

If it has frozen then closing Neo then restarting Neo might start recovery, I don’t know for your suite. Don’t reboot before trying recovery