721.2g

If an effect attempts to end the combat phase at any time that’s not a combat phase, nothing happens.