If the application has not yet been approved or denied by USCIS, it's easy to cancel or withdraw it by sending the letter to USCIS. There is no official withdrawal USCIS form. You need to know the USCIS office that's currently handling the petition/ Application.