Removing kitchen sink drain pipe from behind a wall
As you suspect, if the drain is plumbed correctly, there is a vent pipe extending above the drain connection inside the wall. The connector is probably a wye, and there is no way to free the pipe without opening the wall.