What happens to iʿtikāf if intercourse occurs at night?

Bab al-Iʿtikaf: Rules, Restrictions, Invalidation and Vows