[ 'ended_at' => now()->toIso8601String(), 'reason' => $reason ?: null, ], ]); } }