an attempt to surrender