I assume there's a heat sealer in there someplace to close the end of the bag before it reinflates.

We once got a mattress that was flattened and rolled. Sort of like inflating a life boat in your house.