Golems will autostable. Indeed bonding has nothing to do with autostabling, so bonded or not, most pets will autostable. This does not apply to pack animals with items in their packs, however. Furthermore, this does not apply to allured pets. Those disappear if you logout, just as if you recall away from them. One more thing to watch out for is logging out near server down. There is still a slight time warp and if your pet is caught in that, it will remain in-game and go wild.