After you file

To remove a dependent, submit Form 1040-X with a new list of dependents.

You may have a new refund or different "amount you owe".

That's why you use the tax software.

If you don't submit the changes, IRS will probably do the calculation for you and send you a bill.

OR, they will send it back and tell you to  try again.

 

@Sailorspoon94