The Uttarakhand forest department will rehabilitate captive elephants being mistreated by owners in resorts around Corbett National Park.