When exiting, your buyer will often negotiate an indemnification escrow (3-20% of the EV). This is withheld for 6-24 months (12 months is standard), and ideally 100% is released in the absence of claims at the end of the lock-up period.
Heard at a conference: "85-90% [of the escrow] comes back when it's a strategic [buyer]. They have in-house counsel and legal team to file a claim, which lowers the barrier. Reputation isn’t as important for them, as it would be for a PE fund who builds relationships with bankers and intermediaries. 95% comes back when it's PE fund. They hesitate to pay legal fees, so don’t bother about small claims. Reputation matters, don’t want to get known for nickel and dime."