Sgt. McCarthy was released from the hospital Wednesday afternoon.
In a Facebook post, the Santa Ana Police Department thanked people for their thoughts and prayers for the sergeant's recovery.
The department also thanked health care workers and acknowledged those who have lost their lives to the virus.
RELATED | OC vaccine site avoids loss of thousands of doses
RELATED | COVID 'long haulers' suffer debilitating problems months later