There is no strong evidence to support that herpes can be transmitted in this manner however; I would not recommend sharing a towel with someone who has herpes. It is better to err on the side of caution.
Related posts:
Can you get herpes from using a hot tub or swimming pool with someone who has herpes?
How does one contract Herpes (HSV-1- HSV-2)?
Can stress trigger an outbreak of herpes?
Can using a Condom protect me from getting Herpes?
I don’t have any symptoms of herpes, therefore I don’t have herpes.
What are the two types of Herpes?