I assume the penalty is in some metagame ranking? An in-game penalty for failing to recognize that you have already lost seems pointless.
In chess you have literally no legal moves, but in go a good player just knows that it's hopeless to continue, and it's rude to keep going.