With the video editor in YouTube Studio, you can cut out the beginning, middle, or end of your video on a computer. You don't need to re-upload a video to trim it -- plus, the video's URL, view count, and comments will stay the same.
Learn more: https://support.google.com/youtube/answer/9057455