Ko for territory
at lives in sente by sacrificing three stones.
Aftermath
This is not an approach ko; White can resolve it by connecting at and Black can make life.