Whenever your bank becomes out of sync you just need to trace it back to the exact date the issue arose. This would normally involve you going back through your bank statement in QF and finding a date where the balance agrees with your actual bank statement. Then just iterate forward until the balance goes out.
You can use the Reconcile tool to simplify this job, as per @QFSupport's suggestion.