Historically, recessions have not always correlated with market crashes, with the stock market showing an average positive return of 9.8% during some recessions.
"From 1869 to 2018 there have been a total of 16 recessions which had positive stock market returns in fact of those positive recessions the market went up an average of nine point eight percent"