To strike someone on the head, or to beat them up.
Heard in Offaly
In useYou don't stop and I'll thump de head o ya!
Lawrence Muck's posh English
Ahoy there. Nautical, I know.
Here it is in posh English.
Cease at once or I shall deliver you a most emphatic blow to the head.