No, General Charles Lee and General Robert E. Lee were not directly related, despite sharing the same last name. Charles Lee, born in 1732, was a general in the Continental Army during the American Revolutionary War. He was known for his military experience and his controversial career, which included a notable but defeatist engagement at the Battle of Brandywine.
On the other hand, Robert E. Lee, born in 1807, was a general in the Confederate Army during the American Civil War. He is perhaps best known for his leadership of the Army of Northern Virginia and his role in shaping Confederate military strategy.
The two men lived in very different times and fought in different wars for different causes. While both were prominent military figures in American history, their connection is purely nominal. The shared surname does not imply a family relationship; in fact, they belonged to different generations and backgrounds. Therefore, any perceived connection is merely coincidental.