What happens if a contact bounces during a workflow?

The contact will stay on the node where they were when they bounced, be it on email or SMS. Read more about bounces here.