To be honest, it just sounds like you completely bottled it. It happens to all of us. Work on your mental game, slow everything down, take time before serving etc.
Sometimes you just have to accept that the opponant played a high risk game and it paid off. The next day he might try the same thing and miss everything. It is what it is.
In my experience, table tennis seems to attract a lot of 'unique' characters.
I could write a book about some of the nutters I've come across in local league over the years.
I'm not a high level player by any means, but in over 20 years of playing table tennis, I've never had to dash off in the middle of a match because I needed a ****
Toilet breaks should be banned.