Working method
Inspect track and language listings. In a tool with stream-copy mode, select the wanted audio stream, omit video and choose a compatible container. M4A often suits AAC from MP4. For waveform editing, separately create a PCM copy with an audio converter.
Checking the result
Compare duration, language, channel count and first spoken word. When the track will return to picture, retain its original offset information. The separate audio file may start at a different timestamp.
When saving M4A, distinguish the container from the codec inside it.