You may be able to withdraw your application as long as the person you are sponsoring has not received their Permanent Resident status in Canada. You may even be eligible for a refund if IRCC hasn’t actually started processing your application.