A stop payment notice ceases to be effective, and a person withholding funds pursuant to the notice shall release them, in either of the following circumstances:
- (a) An action to enforce payment of the claim stated in the stop payment notice is dismissed, unless expressly stated to be without prejudice.
- (b) Judgment in an action to enforce payment of the claim stated in the stop payment notice is against the claimant.