At the tactical screen type "make it so". Then a list of
options including "Destroy" and "Cloak" will appear. The
following keys may also be pressed to activate the
corresponding cheat function:
T 999 photon torpedoes
F Repair all damage
C Cloak
I Full impulse
W Jump to warp speed