Yes, I agree with Wayward.
Use a "scraper" to remove it and you won't have the "goo & gom" but a lot of dust n' scrapings.
And the bestest "scrapers" are old mowing machine "sickle bar" knives.
To wit, the triangle-shaped blades pictured below:
Just sharpen them up, really sharp, with a grinder ....... and while applying pressure ....... drag them backwards while holding the blade perpendicular (90 degrees or a little less) to the surface being "scraped" and the paint, varnish, etc., will be cut off right down to the bare wood.
But Never, never scrape with the edge of the blade pointing in the direction you are scraping or it will cut right into the wood.
Small square/oblong pieces of window glass makes good scrapers for some finishes but the glass gets dull too quickly.