What if I receive a gift for a downpayment on a house, but return the gift within a short period?

goal is to access cash for a downpayment, if our sale hasn't closed yet.  Want to avoid adding to lifetime gift tax/ estate tax penalty for the person we are borrowing from.