stuart locked the legs of edward prince of wales together so no one could steal him , and presently he was out on the bay , bobbing up and down aboard the veteran 's raft , being rowed to san francisco .