I think Gideon wants Hook out of town because that will upset Emma, and maybe make her careless and therefore easier to defeat? Captain Nemo stated that they don’t have any set plans for the sub so I guess wherever it is needed. Although Gideon again shows that he is not truly evil because all he really did is send Hook on a journey he could of easily killed him and didn’t.