There is an exception for "casual, innocent and brief departures" though. You *may* still qualify.
"""
What are the criteria for the “brief, casual and innocent absence” exception to the “continuous residence” and “continuous physical presence”
requirements for TPS?
A brief, casual and innocent absence means a departure from the United States that
• was of short duration and reasonably calculated to accomplish the purpose(s) for the absence;
• was not the result of an order of deportation, voluntary departure, or an administrative grant of voluntary departure; and
• was not for purposes contrary to law OR did not involve actions outside of the United States that were contrary to law.
If you left the United States with specific, approved authorization of DHS – for example, on an Advance Parole document – and returned within the time
period authorized on that document, you should inform USCIS of that fact when you apply for or re-registration
"""
from: https://www.uscis.gov/sites/default/files/USCIS/About%20Us/Electronic%20Reading%20Room/Customer%20Service%20Reference%20Guide/TempProtectedStatus.pdf