Client gives notice, confirm the dates
The client is leaving on good terms. This confirms the end date and the money still due, without any sulking, so the door stays open.
Hi [client name],
Thanks for letting me know, and for the time working together.