PhD dropping out and funding reimbursement
This will depend on many things including local law and the details of anything signed. In the absence of some rule, it is unlikely that there is any need to repay. In particular, many funding agencies have no real way to accept money paid back. The reason that the person dropped out may be very complex, and actually a shared issue with the institution. 

But this can differ widely. Read the fine print if any.