I am so sorry to hear that this happened to you, my dear - unfortunately this seems to be the norm on public transportation even in my country -
I also understand how in the moment sometimes you feel frozen with fear or hesitation as to how to deal with the situation - I totally get it given my culture as well were other women will advise you to keep quiet (hypocritical guards of patriarchy 🙄) - next time raise a hue and cry - if not for your sake then for other women that jerks like this will undoubtedly be harassing in the future