You can enter your ‘Generals’ list and go to the ‘Duty’ page. Then switch the display mode of the generals to the vertical details mode, and you can see a “Resign” under the right data column of each general in the list. Click it to remove the current position of the general.
※ Content is for reference only and may change. See in-game notifications for updates.