I have my microphone set to toggle, and every time I exit the app for a moment and then come back, I find it automatically switch to push to talk, even with headphones connected.
iPhone 15 Pro Max, iOS 18 Beta 4