Yeah. It's a lot easier to slip out without saying anything, and apologize after if they ask, than it is to risk your appointment being missed.
If you can, just walk out. If you know they're going to ask (after or before) have a quick, simple, and mostly true lie prepared. You're going to grab lunch real quick since you've been busy all day with the basement, you are headed out to get useful stuff for the basement and do they have any ideas for anything specific, etc. Bonus points for actually also doing the thing you said you were doing.