To leave, notify the person who gave you the keys by phone or WhatsApp, indicating between what hours you can pick up the keys and return the deposit, the apt. It must be collected and correct, IT IS IMPORTANT THAT THE TIME IS CORRECT, if you have to wait you could invoice the time it takes.