Cowperwaith resigns