A strange spacecraft lands in a town, the (human) captain is dying and children take over the operation of the spaceship.
That's all I remember, it bugs me not to know. I'm trying to find it for my kids to read, they have just started "A Wrinkle in Time".
Thanks for anyone's help.