There is a particular British stereotype of a 19th century upper-class military officer (or former military officer) who has a particular dialect that ends sentences with "what?" in the same way other people might end with, "isn't it?". For example,
Jolly good show, what?
to mean "well done". However there is no dialect I know that normally ends sentences with any of the other question words, so your example makes no sense.
You can end sentences with a question word as a way of emphasizing the exact question. Example:
A: The chef is known for making dishes infused with tobacco.
B: Infused with what?
A: Tobacco. finely-ground tobacco leaf. It's apparently rather nice.
Similarly, you can use the other question words:
She went where?
And I should do this why?
So you want this delivered by when?
and so on. Again, none of these seem to fit the context of your example.