are the cabinets finished (polyurethaned?) or bare wood?
is there a chance that the paint is on the poly only and did not penetrate into the wood? you may be able to 'scrape' off the extra paint.
otherwise, i would pop that trim off, sand lightly to remove the paint, and reapply a matching topcoat.