In a nutshell
A word said to have originally meant finishing a game of Go.
In detail
Kekkyoku is said to have originally meant finishing a game of Go, and from there came to mean “in the end” or “after all.”
Some of the words we use without thinking come from Go.