I guess there is a period of 7 days within which a person must exit Qatar after cancellation of RP. After this period, a penalty of QR 100 per each extra day of stay gets imposed. If you are going on a final exit, your family's RP automatically gets cancelled once you exit. Talk to your PRO for further clarifications.