An unemployed samurai reluctantly helps solve a mystery and prevent the overthrow of a young ruler on an island in medieval Japan.