Some fleet boats had aux engines capable of driving the sub at 5 knots while charging batteries and maintaining electrical systems and air charge. The Gunnel lost all four engines one at a time on returning to England in Nov of '42 and relied on the aux almost the whole trip back.
http://jmlavelle.com/gunnel/patrol1.htm
-Pv-