What should I do with leftover mud?
Do not leave mud in a pan.

If it's premixed mud, just put it back in the bucket, put the lid back on, then clean your tools.

If it's powdered setting type from a bag, throw the used mud in the bin, then clean your tools.