You may be thinking of Dennis Haysbert (Sergeant Major Jonas Blane). He is alive and well (born 1954), continuing to act (e.g., Allstate commercials, Lucifer, The Unit ended 2009).
No main cast member of The Unit has died. If you recall a specific character death or guest star, please provide details.