The person on whom a writ is served shall bring the body of the person in custody or under restraint, according to the command of the writ, except in the cases provided in AS 12.75.050.