Prosbul works by assigning the loan to court for collection. It is then "as if collected," and such a loan is not canceled by the 7th year.
Only unsecured loans are canceled and thus require prosbul. Even if a debt is canceled by the 7th year, it is meritorious to return the money as a gift.
Art: The Thankful Poor by Henry Ossawa Tanner