Are you perhaps thinking of George VI? I don't think George IV ever served in the Navy but I may be mistaken. George VI was by all accounts a good officer, and was mentioned in despatches whilst serviing on the HMS Collingwood for actions during the Battle of Jutland.