It was a bittersweet day for England Captain Alastair Cook after he enjoyed a good day at the crease but missed out on making his first hundred in 27 tests.