The corvette was on a routine patrol mission in the Yellow Sea when it sunk near Baengnyeong , 16 kilometers , or 10 miles , from the North Korean coast and 200 kilometers from the South Korean mainland .