How do I remove wallpaper when it is close to a cupboard?
I would use an Exacto knife or razor knife to neatly score along the edge of the cupboards.

Then soak the wallpaper with hot water from a sponge and then use a teakettle or other source of steam to loosen the paper until you can scrape it off with a putty knife.

Good luck!