I personally, wouldn’t ghost anyone. Theres a better way to do bad things. I think, regardless of how you are treated, you do the right thing, because you’re a good person. Even if you send a “it’s over” text, or a basic means to an end. Communicating your exit is a must. What you do thereafter is entirely your call. Go no contact, block them etc, thats your call. However I personally feel its the RIGHT thing to do by communicating its ended.
Wanting or hoping for someone to wonder & never have that closure? Shows your character more than anything.