restore original team when going back out of mode, if needed