Not a glitch - if you leave your boat while it's being sucked into the whirlpool, it'll get sucked in and destroyed and you'll have to build a new boat (or reload).