Dignity belongs in the unseen details
The way you leave a shared table says something even when nobody is standing nearby to praise or correct you. Wiping away your crumbs is a small recognition that the next person deserves a usable place, although their name and their arrival time may remain unknown to you.
Go deeper
Consider the next user
A shared table connects people who may never meet. One person leaves. Another arrives and encounters what was left behind: a clean surface, scattered crumbs or a sticky cup ring.
Consideration can be built into the condition of a place. It does not require knowing who will benefit or receiving a response from them.
The action is concrete and proportionate. Clear your own rubbish. Return the chair. Leave shared equipment ready for its next ordinary use. These gestures do not solve every problem in a public space, but they address the part your presence changed.
Before leaving, look once from the next person's position. Would they need to deal with your leftovers before beginning what they came to do? That question gives a small act of care a clear target.