Killing engine stops trans's oil pump which is generally bad (for example towing an auto trans car is usually allowed only while in N, low speed&short distance)
The box itself when power is cut will operate solely from its hydraulic system's "opinion" and lever position as per car's manual. However I can't figure out what could happen without oil pressure (engine stopped)
Bookmarks