You do not need to pay back any funds for a failed placement. However, you are only eligible for a certain number of weeks of CPP for the duration of your course, including any failed placements. Therefore, failed placements may impact your future eligibility for payments.
Read more about failing, withdrawing or deferring placements https://students.flinders.edu.au/finances-and-admin/commonwealth-prac-payment.