State tax filing

Unfortunately, the PA return was transmitted.  The payment is scheduled for April 14 as a withdrawal from my checking account.  If I file an amended PA return via Turbo Tax prior to the scheduled payment date, will the scheduled payment be cancelled or will it be withdrawn and later refunded?