Five star general resigns