Minor point of order - players OR referee, not players AND referee.
If either doesn't want the campaign to continue past the TPK, that campaign is over, and I've seen both situations.
In fact, in a 2E campaign I ran, it came down to one player - he created a situation which lead to a TPK, he...