(a) Petition.--A minor who has attained 14 years of age, the minor's guardian of the person or legal representative, an adult member of the minor's family, a transferor or a transferor's legal representative may petition the court for:
(1) an accounting by the custodian or the custodian's legal representative; or
(2) a determination of responsibility, as between the custodial property and the custodian personally, for claims against the custodial property unless the responsibility has been adjudicated in an action under section 5317 (relating to liability to third persons) to which the minor or the minor's legal representative was a party.
(b) Petition by successor custodian for accounting by predecessor.--A successor custodian may petition the court for an accounting by the predecessor custodian.
(c) Court order to account.--The court, in a proceeding under this chapter or in any other proceeding, may require or permit the custodian or the custodian's legal representative to account.
(d) Court order when custodian removed.--If a custodian is removed under section 5318(f) (relating to removal for cause), the court shall require an accounting and order delivery of the custodial property and records to the successor custodian and the execution of all instruments required for transfer of the custodial property.